summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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");