diff --git a/workflow/public_html/sysGeneric.php b/workflow/public_html/sysGeneric.php index d6042192a..9f27d05c4 100644 --- a/workflow/public_html/sysGeneric.php +++ b/workflow/public_html/sysGeneric.php @@ -37,6 +37,11 @@ function transactionLog($transactionName){ //Application base name newrelic_set_appname ($baseName); + //Initialize Laravel app if is not booted + if (!app()->isBooted()) { + app()->make(Kernel::class)->bootstrap(); + restore_error_handler(); + } //Custom parameters if(!empty(config("system.workspace"))){