Instead of issuing everytime redirect() then exit in scripts; I put exit;
in redirect function
This commit is contained in:
@@ -160,7 +160,8 @@ function errorpage($text = null, $message = null)
|
|||||||
*/
|
*/
|
||||||
function redirect($url)
|
function redirect($url)
|
||||||
{
|
{
|
||||||
header("Location: ".$url);
|
header("Location: ".$url);
|
||||||
|
exit;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user