This commit is contained in:
Roly Rudy Gutierrez Pinto
2019-01-10 11:03:07 -04:00
parent c8fb6764c5
commit 667a67c762
2 changed files with 2 additions and 2 deletions

View File

@@ -304,7 +304,7 @@ class PMScript
public function executeAndCatchErrors($sScript, $sCode)
{
ob_start('handleFatalErrors');
set_error_handler('handleErrors');
set_error_handler('handleErrors', ini_get('error_reporting'));
$_SESSION['_CODE_'] = $sCode;
$_SESSION['_DATA_TRIGGER_'] = $this->dataTrigger;
$_SESSION['_DATA_TRIGGER_']['_EXECUTION_TIME_'] = microtime(true);