From 42bf10789e825811e9f083ed4a5fe873036ade4c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julio=20Cesar=20Laura=20Avenda=C3=B1o?= Date: Thu, 5 Jul 2018 20:12:56 +0000 Subject: [PATCH] Merged in bugfix/HOR-4713 (pull request #6542) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit HOR-4713 Approved-by: Julio Cesar Laura AvendaƱo Approved-by: Dante Loayza --- workflow/public_html/sysGeneric.php | 5 +++++ 1 file changed, 5 insertions(+) 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"))){