This commit is contained in:
Josh North 2021-10-20 12:00:23 -04:00
parent 2414c165dd
commit 0ff2437d5c
4 changed files with 4 additions and 0 deletions

View File

@ -81,6 +81,7 @@
$VisitTypeInfo = new \App\LobbySIO\Database\VisitTypeInfo(); // ADDITIONAL CLASSES $VisitTypeInfo = new \App\LobbySIO\Database\VisitTypeInfo(); // ADDITIONAL CLASSES
$IDTypeInfo = new \App\LobbySIO\Database\IDTypeInfo(); $IDTypeInfo = new \App\LobbySIO\Database\IDTypeInfo();
$VisitInfo = new \App\LobbySIO\Database\VisitInfo(); $VisitInfo = new \App\LobbySIO\Database\VisitInfo();
Classes\Misc\Csrf::removeToken('home');
$VisitActions = new \App\LobbySIO\Database\VisitActions(); $VisitActions = new \App\LobbySIO\Database\VisitActions();
$app_current_pagename = $transLang['STR_COMMON_HOME']; // PAGE SETUP $app_current_pagename = $transLang['STR_COMMON_HOME']; // PAGE SETUP
$app_current_pageicon = '<i class="fas fa-home"></i> '; $app_current_pageicon = '<i class="fas fa-home"></i> ';

View File

@ -50,6 +50,7 @@
require_once("inc/header.inc.php"); require_once("inc/header.inc.php");
if ($StaticFunctions->getSessionStatus() == false) { // CHECK STATUS if ($StaticFunctions->getSessionStatus() == false) { // CHECK STATUS
echo $StaticFunctions->killSession(); // ELSE DIE echo $StaticFunctions->killSession(); // ELSE DIE
Classes\Misc\Csrf::removeToken('home');
} else { ?> } else { ?>
<!-- CONTENT START --> <!-- CONTENT START -->

View File

@ -77,6 +77,7 @@
$app_current_pagename = $transLang['ACCOUNT']; // PAGE SETUP $app_current_pagename = $transLang['ACCOUNT']; // PAGE SETUP
$app_current_pageicon = '<i class="fas fa-user-circle"></i> '; $app_current_pageicon = '<i class="fas fa-user-circle"></i> ';
require_once("inc/header.inc.php"); require_once("inc/header.inc.php");
Classes\Misc\Csrf::removeToken('home');
if ($StaticFunctions->getUserSessionStatus() == false) { // CHECK STATUS if ($StaticFunctions->getUserSessionStatus() == false) { // CHECK STATUS
echo $StaticFunctions->killSession(); // ELSE DIE echo $StaticFunctions->killSession(); // ELSE DIE
} else { ?> } else { ?>

View File

@ -83,6 +83,7 @@
$app_current_pagename = $transLang['REPORTS']; // PAGE SETUP $app_current_pagename = $transLang['REPORTS']; // PAGE SETUP
$app_current_pageicon = '<i class="fas fa-chart-pie"></i> '; $app_current_pageicon = '<i class="fas fa-chart-pie"></i> ';
require_once("inc/header.inc.php"); require_once("inc/header.inc.php");
Classes\Misc\Csrf::removeToken('home');
if ($StaticFunctions->getUserSessionStatus() == false) { // CHECK STATUS if ($StaticFunctions->getUserSessionStatus() == false) { // CHECK STATUS
echo $StaticFunctions->killSession(); // ELSE DIE echo $StaticFunctions->killSession(); // ELSE DIE
} else { ?> } else { ?>