X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=http.php;h=51eb4d39f5d6d797a0a3e2d46a0a65b6163ed8be;hb=8887166f7f16b778d9c1570e858f42afd282c427;hp=1abd50bc1757abe53f46ef77f95ba4734aa6770a;hpb=88edfcf26c7b4cdbd083dede0834de5cf6f16999;p=wfpl.git diff --git a/http.php b/http.php index 1abd50b..51eb4d3 100644 --- a/http.php +++ b/http.php @@ -83,6 +83,9 @@ function redirect($url, $status = '302 Moved Temporarily', $message = '') { } if(function_exists('session_save_messages')) { + if(function_exists('atexit_now')) { + atexit_now(); + } session_save_messages(); }