X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=http.php;h=c7c457a21ccb5b946d60d09e60c52df7945a1f85;hb=4aaf7daac479c97869e5e1ab9b8afc796043fb91;hp=b183275e1ef12b97823eed07b8d1c15275dc4267;hpb=d03e8554ee3e80a6333126e67dd4c20f54ec700e;p=wfpl.git diff --git a/http.php b/http.php index b183275..c7c457a 100644 --- a/http.php +++ b/http.php @@ -48,6 +48,9 @@ function this_url() { } function redirect($url, $status = '302 Moved Temporarily', $message = '') { + if(function_exists('session_save_messages')) { + session_save_messages(); + } header("HTTP/1.0 $status"); header("Location: $url"); echo($message);