HOR-3610
Fix System class conflict.
This commit is contained in:
@@ -285,7 +285,7 @@ class WebApplication
|
||||
Services\Api::setWorkspace(SYS_SYS);
|
||||
$cacheDir = defined("PATH_WORKSPACE") ? PATH_WORKSPACE : (defined("PATH_C")? PATH_C: sys_get_temp_dir());
|
||||
|
||||
$sysConfig = \System::getSystemConfiguration();
|
||||
$sysConfig = \PMSystem::getSystemConfiguration();
|
||||
|
||||
\Luracast\Restler\Defaults::$cacheDirectory = $cacheDir;
|
||||
$productionMode = (bool) !(isset($sysConfig["service_api_debug"]) && $sysConfig["service_api_debug"]);
|
||||
@@ -449,7 +449,7 @@ class WebApplication
|
||||
\Bootstrap::initVendors();
|
||||
\Bootstrap::LoadSystem( 'monologProvider' );
|
||||
|
||||
$arraySystemConfiguration = \System::getSystemConfiguration();
|
||||
$arraySystemConfiguration = \PMSystem::getSystemConfiguration();
|
||||
|
||||
ini_set('date.timezone', $arraySystemConfiguration['time_zone']); //Set Time Zone
|
||||
|
||||
@@ -497,7 +497,7 @@ class WebApplication
|
||||
exit(0);
|
||||
}
|
||||
|
||||
$arraySystemConfiguration = \System::getSystemConfiguration('', '', SYS_SYS);
|
||||
$arraySystemConfiguration = \PMSystem::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