summaryrefslogtreecommitdiff
path: root/www-ssl
diff options
context:
space:
mode:
authorcookie <cookie@29ba0400-6e00-0410-a75a-ca02368028f8>2006-11-10 18:23:04 +0000
committercookie <cookie@29ba0400-6e00-0410-a75a-ca02368028f8>2006-11-10 18:23:04 +0000
commitf57b0c9137ab8d5278715f2cedf34eabb14ee3d5 (patch)
tree277279ec446d668e848ca84866cc47edd69a14c0 /www-ssl
parent48468895aba207eb705dd3dc62ddd6f7e7f548e8 (diff)
endloss schleife bei ip wecksel gefixt
git-svn-id: svn://svn.cccv.de/engel-system@156 29ba0400-6e00-0410-a75a-ca02368028f8
Diffstat (limited to 'www-ssl')
-rwxr-xr-xwww-ssl/inc/header.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/www-ssl/inc/header.php b/www-ssl/inc/header.php
index 55ddbb24..47d50690 100755
--- a/www-ssl/inc/header.php
+++ b/www-ssl/inc/header.php
@@ -14,7 +14,8 @@ if( !isset($_SESSION['IP']))
if (IsSet($_SESSION['UID']) and ($_SESSION['IP'] <> $_SERVER['REMOTE_ADDR']))
{
- header("Location: https://".$_SERVER['HTTP_HOST'].$ENGEL_ROOT);
+ session_destroy ();
+ header("Location: $url". substr($ENGEL_ROOT,1) );
}
include ("./inc/UserCVS.php");