HOR-3851
This commit is contained in:
@@ -1151,7 +1151,7 @@ class TimerEvent
|
||||
private function log($action, $value = "", $status = "action")
|
||||
{
|
||||
try {
|
||||
$workspace = (defined("SYS_SYS"))? SYS_SYS : "Wokspace Undefined";
|
||||
$workspace = (defined("SYS_SYS"))? config("sys_sys") : "Wokspace Undefined";
|
||||
$ipClient = \G::getIpAddress();
|
||||
|
||||
$actionTimer = "timereventcron: ";
|
||||
@@ -1192,7 +1192,7 @@ class TimerEvent
|
||||
)
|
||||
{
|
||||
try {
|
||||
\Bootstrap::registerMonolog('TimerEventCron', $level, $message, $aContext, SYS_SYS, 'processmaker.log');
|
||||
\Bootstrap::registerMonolog('TimerEventCron', $level, $message, $aContext, config("sys_sys"), 'processmaker.log');
|
||||
} catch (\Exception $e) {
|
||||
throw $e;
|
||||
}
|
||||
@@ -1214,7 +1214,7 @@ class TimerEvent
|
||||
$ws = new \WsBase();
|
||||
$case = new \Cases();
|
||||
$common = new \ProcessMaker\Util\Common();
|
||||
$sysSys = (defined("SYS_SYS"))? SYS_SYS : "Undefined";
|
||||
$sysSys = (defined("SYS_SYS"))? config("sys_sys") : "Undefined";
|
||||
|
||||
$common->setFrontEnd($frontEnd);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user