mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 00:53:50 +00:00
Require - Updates for PHP 8.1
This commit is contained in:
@@ -35,12 +35,12 @@
|
||||
$_SERVER["PROJECT_PATH"] = $conf['project.path'];
|
||||
if (isset($conf['project.path'])) {
|
||||
$_SERVER["PROJECT_ROOT"] = $conf['document.root'].'/'.$conf['project.path'];
|
||||
define("PROJECT_ROOT", $conf['document.root'].'/'.$conf['project.path']);
|
||||
define("PROJECT_PATH", $conf['project.path']);
|
||||
if (!defined('PROJECT_ROOT')) { define("PROJECT_ROOT", $conf['document.root'].'/'.$conf['project.path']); }
|
||||
if (!defined('PROJECT_PATH')) { define("PROJECT_PATH", $conf['project.path']); }
|
||||
}
|
||||
else {
|
||||
define("PROJECT_ROOT", $conf['document.root']);
|
||||
define("PROJECT_PATH", '');
|
||||
if (!defined('PROJECT_ROOT')) { define("PROJECT_ROOT", $conf['document.root']); }
|
||||
if (!defined('PROJECT_PATH')) { define("PROJECT_PATH", ''); }
|
||||
}
|
||||
|
||||
//set the error reporting
|
||||
|
||||
Reference in New Issue
Block a user