mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-29 23:26:00 +00:00
Bugfix
This commit is contained in:
parent
b4f4eddd12
commit
aebcf606ed
1 changed files with 1 additions and 0 deletions
|
@ -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");
|
||||||
|
|
Loading…
Reference in a new issue