HOR-3819
Restored ProcessMaker ErrorHandler. Fixed Soap class.
This commit is contained in:
@@ -70,6 +70,7 @@ return array(
|
||||
'replacementLogo' => ReplacementLogo::class,
|
||||
'Report' => Report::class,
|
||||
'ReportTables' => ReportTables::class,
|
||||
'request' => Illuminate\Http\Request::class,
|
||||
'serverConf' => ServerConf::class,
|
||||
'Sessions' => Sessions::class,
|
||||
'spoolRun' => SpoolRun::class,
|
||||
|
||||
@@ -486,6 +486,7 @@ class WebApplication
|
||||
// Change storage path
|
||||
app()->useStoragePath(realpath(PATH_DATA));
|
||||
app()->make(Kernel::class)->bootstrap();
|
||||
restore_error_handler();
|
||||
error_reporting(error_reporting() & ~E_STRICT & ~E_DEPRECATED);
|
||||
|
||||
Bootstrap::setLanguage();
|
||||
|
||||
@@ -92,6 +92,7 @@ try {
|
||||
|
||||
app()->useStoragePath(realpath(PATH_DATA));
|
||||
app()->make(Kernel::class)->bootstrap();
|
||||
restore_error_handler();
|
||||
//Do not change any of these settings directly, use env.ini instead
|
||||
ini_set('display_errors', $arraySystemConfiguration['debug']);
|
||||
ini_set('error_reporting', $e_all);
|
||||
|
||||
@@ -82,6 +82,7 @@ try {
|
||||
|
||||
app()->useStoragePath(realpath(PATH_DATA));
|
||||
app()->make(Kernel::class)->bootstrap();
|
||||
restore_error_handler();
|
||||
//Do not change any of these settings directly, use env.ini instead
|
||||
ini_set('display_errors', $arraySystemConfiguration['debug']);
|
||||
ini_set('error_reporting', $e_all);
|
||||
|
||||
@@ -3979,12 +3979,9 @@ function pmSqlEscape($vValue)
|
||||
//End - Private functions
|
||||
|
||||
|
||||
/* * *************************************************************************
|
||||
* Error handler
|
||||
* author: Julio Cesar Laura Avenda<64>o <juliocesar@colosa.com>
|
||||
* date: 2009-10-01
|
||||
* ************************************************************************* */
|
||||
/**
|
||||
* Error handler
|
||||
*
|
||||
* @param $errno
|
||||
* @param $errstr
|
||||
* @param $errfile
|
||||
|
||||
@@ -650,7 +650,7 @@ function NewCase($params)
|
||||
$oSession = new Sessions();
|
||||
$session = $oSession->getSessionUser($params->sessionId);
|
||||
$userId = $session['USR_UID'];
|
||||
$variables = $params->variables;
|
||||
$variables = isset($params->variables) ? $params->variables : null;
|
||||
|
||||
$field = array();
|
||||
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
<?php
|
||||
|
||||
namespace ProcessMaker\Util;
|
||||
use G;
|
||||
|
||||
/**
|
||||
* Constructs the name of the variable starting from a string representing the
|
||||
|
||||
@@ -553,6 +553,7 @@ if (! defined( 'PATH_DATA' ) || ! file_exists( PATH_DATA )) {
|
||||
|
||||
app()->useStoragePath(realpath(PATH_DATA));
|
||||
app()->make(Kernel::class)->bootstrap();
|
||||
restore_error_handler();
|
||||
//Overwrite with the Processmaker env.ini configuration used in production environments
|
||||
//@todo: move env.ini configuration to .env
|
||||
ini_set( 'display_errors', $config['display_errors']);
|
||||
|
||||
Reference in New Issue
Block a user