mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-06 11:43: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;
|
global $database;
|
||||||
$database = database::new(['config' => $config]);
|
$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;
|
global $no_session;
|
||||||
if (!defined('STDIN') && empty($no_session)) {
|
if (!defined('STDIN') && empty($no_session)) {
|
||||||
require_once __DIR__ . '/php.php';
|
session_start();
|
||||||
}
|
}
|
||||||
|
|
||||||
//load settings
|
//load settings
|
||||||
|
|||||||
Reference in New Issue
Block a user