Add namespace Processmaker\Core
This commit is contained in:
@@ -288,7 +288,7 @@ class WebApplication
|
||||
Services\Api::setWorkspace(SYS_SYS);
|
||||
$cacheDir = defined("PATH_WORKSPACE") ? PATH_WORKSPACE : (defined("PATH_C")? PATH_C: sys_get_temp_dir());
|
||||
|
||||
$sysConfig = \PmSystem::getSystemConfiguration();
|
||||
$sysConfig = \ProcessMaker\Core\System::getSystemConfiguration();
|
||||
|
||||
\Luracast\Restler\Defaults::$cacheDirectory = $cacheDir;
|
||||
$productionMode = (bool) !(isset($sysConfig["service_api_debug"]) && $sysConfig["service_api_debug"]);
|
||||
@@ -450,7 +450,7 @@ class WebApplication
|
||||
define("PATH_SERVICES_REST", PATH_CORE . "services" . PATH_SEP . "rest" . PATH_SEP);
|
||||
|
||||
G::defineConstants();
|
||||
$arraySystemConfiguration = \PmSystem::getSystemConfiguration();
|
||||
$arraySystemConfiguration = \ProcessMaker\Core\System::getSystemConfiguration();
|
||||
|
||||
ini_set('date.timezone', $arraySystemConfiguration['time_zone']); //Set Time Zone
|
||||
|
||||
@@ -502,7 +502,7 @@ class WebApplication
|
||||
exit(0);
|
||||
}
|
||||
|
||||
$arraySystemConfiguration = \PmSystem::getSystemConfiguration('', '', SYS_SYS);
|
||||
$arraySystemConfiguration = \ProcessMaker\Core\System::getSystemConfiguration('', '', SYS_SYS);
|
||||
|
||||
//Do not change any of these settings directly, use env.ini instead
|
||||
ini_set('display_errors', $arraySystemConfiguration['display_errors']);
|
||||
|
||||
Reference in New Issue
Block a user