mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 00:53:50 +00:00
Make sure to start the PHP SESSION
This commit is contained in:
@@ -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')) {
|
||||
|
||||
Reference in New Issue
Block a user