From 483118b36318b6b10843aa03226c5a96f2471b39 Mon Sep 17 00:00:00 2001 From: mdtrooper Date: Fri, 4 Oct 2013 08:25:39 +0000 Subject: [PATCH] 2013-10-04 Miguel de Dios * include/config_process.php: fixed the show strict error in PHP version 5.4.0 to up. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8851 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f --- pandora_console/ChangeLog | 5 +++++ pandora_console/include/config_process.php | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index 0da6fa57ee..3f507a6bf0 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,8 @@ +2013-10-04 Miguel de Dios + + * include/config_process.php: fixed the show strict error in PHP + version 5.4.0 to up. + 2013-10-04 Sergio Martin * include/functions_alerts.php: Fixed group filter in diff --git a/pandora_console/include/config_process.php b/pandora_console/include/config_process.php index 02b0a892d3..0b58bd433a 100644 --- a/pandora_console/include/config_process.php +++ b/pandora_console/include/config_process.php @@ -42,7 +42,7 @@ if ($develop_bypass != 1) { if (version_compare(PHP_VERSION, '5.3.0') >= 0) { - error_reporting(E_ALL & ~E_DEPRECATED & ~E_NOTICE); + error_reporting(E_ALL & ~E_DEPRECATED & ~E_NOTICE & ~E_STRICT); } else { @@ -56,7 +56,7 @@ else { // Develop mode, show all notices and errors on Console (and log it) if (version_compare(PHP_VERSION, '5.3.0') >= 0) { - error_reporting(E_ALL & ~E_DEPRECATED); + error_reporting(E_ALL & ~E_DEPRECATED & ~E_STRICT); } else {