Instead of issuing everytime redirect() then exit in scripts; I put exit;

in redirect function
This commit is contained in:
Jonathan Ernst
2005-02-04 02:49:09 +00:00
committed by WineHQ
parent a590018548
commit 76faddeef4

View File

@@ -161,6 +161,7 @@ function errorpage($text = null, $message = null)
function redirect($url) function redirect($url)
{ {
header("Location: ".$url); header("Location: ".$url);
exit;
} }
/** /**