Add changeo
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
namespace Maveriks;
|
||||
|
||||
use Maveriks\Util;
|
||||
use Processmaker\Core\System;
|
||||
use ProcessMaker\Plugins\PluginRegistry;
|
||||
use ProcessMaker\Services;
|
||||
use ProcessMaker\Services\Api;
|
||||
@@ -288,7 +289,7 @@ class WebApplication
|
||||
Services\Api::setWorkspace(SYS_SYS);
|
||||
$cacheDir = defined("PATH_WORKSPACE") ? PATH_WORKSPACE : (defined("PATH_C")? PATH_C: sys_get_temp_dir());
|
||||
|
||||
$sysConfig = \ProcessMaker\Core\System::getSystemConfiguration();
|
||||
$sysConfig = System::getSystemConfiguration();
|
||||
|
||||
\Luracast\Restler\Defaults::$cacheDirectory = $cacheDir;
|
||||
$productionMode = (bool) !(isset($sysConfig["service_api_debug"]) && $sysConfig["service_api_debug"]);
|
||||
@@ -450,7 +451,7 @@ class WebApplication
|
||||
define("PATH_SERVICES_REST", PATH_CORE . "services" . PATH_SEP . "rest" . PATH_SEP);
|
||||
|
||||
G::defineConstants();
|
||||
$arraySystemConfiguration = \ProcessMaker\Core\System::getSystemConfiguration();
|
||||
$arraySystemConfiguration = System::getSystemConfiguration();
|
||||
|
||||
ini_set('date.timezone', $arraySystemConfiguration['time_zone']); //Set Time Zone
|
||||
|
||||
@@ -502,7 +503,7 @@ class WebApplication
|
||||
exit(0);
|
||||
}
|
||||
|
||||
$arraySystemConfiguration = \ProcessMaker\Core\System::getSystemConfiguration('', '', SYS_SYS);
|
||||
$arraySystemConfiguration = 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