mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 00:53:50 +00:00
session_start
Start a session if not using the command line and no_session is empty.
This commit is contained in:
@@ -88,10 +88,10 @@
|
||||
global $database;
|
||||
$database = database::new(['config' => $config]);
|
||||
|
||||
//if not using the command line required files
|
||||
//start the session if not using the command line
|
||||
global $no_session;
|
||||
if (!defined('STDIN') && empty($no_session)) {
|
||||
require_once __DIR__ . '/php.php';
|
||||
session_start();
|
||||
}
|
||||
|
||||
//load settings
|
||||
|
||||
Reference in New Issue
Block a user