X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=http.php;h=c7c457a21ccb5b946d60d09e60c52df7945a1f85;hb=a11c234de210c655511de6e841eaf87d4787b3f5;hp=b183275e1ef12b97823eed07b8d1c15275dc4267;hpb=0829623c0e10d5cc83e12547387b5fa0abaf43e0;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);