diff options
author | cookie <cookie@29ba0400-6e00-0410-a75a-ca02368028f8> | 2006-08-29 13:46:38 +0000 |
---|---|---|
committer | cookie <cookie@29ba0400-6e00-0410-a75a-ca02368028f8> | 2006-08-29 13:46:38 +0000 |
commit | 4892750720e136074598c609985c590577f24480 (patch) | |
tree | 3c19c15f733ab7ff03a033797bf416984ebfc84b /www-ssl/inc/header.php | |
parent | e7c842098d951ee5d43fdfac994d28ca350b1609 (diff) |
passworter werden nicht ausgewertet
bugfix: sesion wird nur gestartet wenn noetig
git-svn-id: svn://svn.cccv.de/engel-system@146 29ba0400-6e00-0410-a75a-ca02368028f8
Diffstat (limited to 'www-ssl/inc/header.php')
-rwxr-xr-x | www-ssl/inc/header.php | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/www-ssl/inc/header.php b/www-ssl/inc/header.php index 3ed0ca46..bbcf61ac 100755 --- a/www-ssl/inc/header.php +++ b/www-ssl/inc/header.php @@ -4,12 +4,10 @@ include ("./inc/config.php"); include ("./inc/db.php"); include ("./inc/funktion_lang.php"); include ("./inc/funktion_menu.php"); -session_start(); + +if( !isset($_SESSION)) + session_start(); include ("./inc/secure.php"); -/*if ( (!IsSet($_SESSION['UID'])) && (strstr ($_SERVER['PHP_SELF'], "nonpublic") !="" ) ) { - header("Location: https://".$_SERVER['HTTP_HOST'].$ENGEL_ROOT); - exit (); -} // Ende Rechte f. Nonpublic'*/ if( !isset($_SESSION['IP'])) $_SESSION['IP'] = $_SERVER['REMOTE_ADDR']; |