summaryrefslogtreecommitdiff
path: root/www-ssl/inc/header.php
diff options
context:
space:
mode:
Diffstat (limited to 'www-ssl/inc/header.php')
-rwxr-xr-xwww-ssl/inc/header.php8
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'];