mirror of
https://github.com/e107inc/e107.git
synced 2025-07-31 03:40:37 +02:00
Endless loop fix for Safari
This commit is contained in:
@@ -11,8 +11,8 @@
|
||||
| GNU General Public License (http://gnu.org).
|
||||
|
|
||||
| $Source: /cvs_backup/e107_0.8/e107_handlers/redirection_class.php,v $
|
||||
| $Revision: 1.2 $
|
||||
| $Date: 2009-09-27 21:18:37 $
|
||||
| $Revision: 1.3 $
|
||||
| $Date: 2009-10-20 03:59:20 $
|
||||
| $Author: e107coders $
|
||||
+----------------------------------------------------------------------------+
|
||||
*/
|
||||
@@ -144,6 +144,7 @@ class redirection
|
||||
function redirect($url)
|
||||
{
|
||||
header('Location: '.$url);
|
||||
header("Content-Length: 0"); // Safari endless loop fix.
|
||||
exit();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user