1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-04 13:47:31 +02:00

Endless loop fix for Safari

This commit is contained in:
CaMer0n
2009-10-20 03:59:20 +00:00
parent a9050cc2a3
commit 1e4336aa3c

View File

@@ -11,8 +11,8 @@
| GNU General Public License (http://gnu.org). | GNU General Public License (http://gnu.org).
| |
| $Source: /cvs_backup/e107_0.8/e107_handlers/redirection_class.php,v $ | $Source: /cvs_backup/e107_0.8/e107_handlers/redirection_class.php,v $
| $Revision: 1.2 $ | $Revision: 1.3 $
| $Date: 2009-09-27 21:18:37 $ | $Date: 2009-10-20 03:59:20 $
| $Author: e107coders $ | $Author: e107coders $
+----------------------------------------------------------------------------+ +----------------------------------------------------------------------------+
*/ */
@@ -144,6 +144,7 @@ class redirection
function redirect($url) function redirect($url)
{ {
header('Location: '.$url); header('Location: '.$url);
header("Content-Length: 0"); // Safari endless loop fix.
exit(); exit();
} }
} }