From c96cbae1646cba57d246705c963106effd74bb43 Mon Sep 17 00:00:00 2001 From: Erik Amaru Ortiz Date: Wed, 2 May 2012 11:11:41 -0400 Subject: [PATCH] BUG 9033 "Depracated en output document en Windows ZendServer" SOLVED - sysGeneric problem when "E_STRICT" is defined,.. - Fixed to right handling E_DEPRECATED & E_STRICT --- workflow/public_html/sysGeneric.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/workflow/public_html/sysGeneric.php b/workflow/public_html/sysGeneric.php index 1db635a0a..9be302c32 100755 --- a/workflow/public_html/sysGeneric.php +++ b/workflow/public_html/sysGeneric.php @@ -25,7 +25,7 @@ /** * sysGeneric - ProcessMaker Bootstrap - * this file is used initialize main variables and redirect to each and all pages + * this file is used initialize main variables, redirect and dispatch all requests */ $startingTime = microtime(true); @@ -55,9 +55,9 @@ require_once $pathhome . 'engine' . PATH_SEP . 'classes' . PATH_SEP . 'class.system.php'; $config = System::getSystemConfiguration($pathhome . 'engine' . PATH_SEP . 'config' . PATH_SEP . 'env.ini'); - $e_all = defined('E_DEPRECATED') ? E_ALL & ~E_DEPRECATED : E_ALL; - $e_all = defined('E_STRICT') ? E_ALL & ~E_STRICT : $e_all; - $e_all = $config['debug'] ? $e_all : $e_all & ~E_NOTICE; + $e_all = defined('E_DEPRECATED') ? E_ALL & ~E_DEPRECATED : E_ALL; + $e_all = defined('E_STRICT') ? $e_all & ~E_STRICT : $e_all; + $e_all = $config['debug'] ? $e_all : $e_all & ~E_NOTICE; // Do not change any of these settings directly, use env.ini instead ini_set('display_errors', $config['debug']);