From 76faddeef48ddb6bc270d71c85033d8ebfc7e8f2 Mon Sep 17 00:00:00 2001 From: Jonathan Ernst Date: Fri, 4 Feb 2005 02:49:09 +0000 Subject: [PATCH] Instead of issuing everytime redirect() then exit in scripts; I put exit; in redirect function --- include/incl.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/incl.php b/include/incl.php index e5784e8..fcc6f6c 100644 --- a/include/incl.php +++ b/include/incl.php @@ -160,7 +160,8 @@ function errorpage($text = null, $message = null) */ function redirect($url) { - header("Location: ".$url); + header("Location: ".$url); + exit; } /**