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 {