Make sure to start the PHP SESSION
This commit is contained in:
parent
09dd09305c
commit
8f0c11fa6c
|
|
@ -26,7 +26,11 @@
|
|||
|
||||
//includes files
|
||||
require_once dirname(__DIR__, 2) . "/resources/require.php";
|
||||
require_once "resources/pdo.php";
|
||||
|
||||
//start the session
|
||||
if (session_status() === PHP_SESSION_NONE) {
|
||||
session_start();
|
||||
}
|
||||
|
||||
//check the domain cidr range
|
||||
if (isset($_SESSION['cdr']["cidr"]) && !defined('STDIN')) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue