diff --git a/code/web/public_php/setup/header.php b/code/web/public_php/setup/header.php index a93fd85c1..b937c6913 100644 --- a/code/web/public_php/setup/header.php +++ b/code/web/public_php/setup/header.php @@ -2,6 +2,7 @@ $NEL_SETUP_SESSION = true; if (file_exists( '../config.php')) { + session_start(); if ((!isset($_SESSION['nelSetupAuthenticated'])) || $_SESSION['nelSetupAuthenticated'] != 1) { if (basename($_SERVER["SCRIPT_NAME"]) != "auth.php") { header("Cache-Control: max-age=1");