JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
metaform capitalizes default captions, added tem::load_str()
[wfpl.git] / http.php
index 437ec74..c7c457a 100644 (file)
--- a/http.php
+++ b/http.php
@@ -48,7 +48,10 @@ function this_url() {
 }
 
 function redirect($url, $status = '302 Moved Temporarily', $message = '') {
-       header("HTTP/1.1 $status");
+       if(function_exists('session_save_messages')) {
+               session_save_messages();
+       }
+       header("HTTP/1.0 $status");
        header("Location: $url");
        echo($message);
        exit();