Update uri.php
This commit is contained in:
parent
34a5291269
commit
744d9479bd
|
@ -38,4 +38,11 @@ if(!function_exists("get_requests")) {
|
|||
}
|
||||
}
|
||||
|
||||
if(!function_exists("redirect_uri")) {
|
||||
function redirect_uri($uri, $permanent=false) {
|
||||
header('Location: ' . $uri, true, $permanent ? 301 : 302);
|
||||
exit();
|
||||
}
|
||||
}
|
||||
|
||||
$requests = get_requests();
|
||||
|
|
Loading…
Reference in New Issue
Block a user