This commit is contained in:
kaetemi 2014-09-07 03:47:55 +02:00
parent 2013e33c38
commit 0538ace543

View file

@ -2,6 +2,7 @@
$NEL_SETUP_SESSION = true; $NEL_SETUP_SESSION = true;
if (file_exists( '../config.php')) { if (file_exists( '../config.php')) {
session_start();
if ((!isset($_SESSION['nelSetupAuthenticated'])) || $_SESSION['nelSetupAuthenticated'] != 1) { if ((!isset($_SESSION['nelSetupAuthenticated'])) || $_SESSION['nelSetupAuthenticated'] != 1) {
if (basename($_SERVER["SCRIPT_NAME"]) != "auth.php") { if (basename($_SERVER["SCRIPT_NAME"]) != "auth.php") {
header("Cache-Control: max-age=1"); header("Cache-Control: max-age=1");