diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index fd6fb28008..942d7da87e 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,9 @@ +2010-05-24 Miguel de Dios + + * include/config_process.php: fixed test php trace level constant + E_DEPRECATED, now it is correct test version (5.3.0) not 5.2.11. + Fixes: #3005558 + 2010-05-24 Miguel de Dios * include/fgraph.php: fixed again when execute fgraphs.php without login in diff --git a/pandora_console/include/config_process.php b/pandora_console/include/config_process.php index 67d148405b..61957823e7 100644 --- a/pandora_console/include/config_process.php +++ b/pandora_console/include/config_process.php @@ -31,7 +31,7 @@ if (!isset($develop_bypass)) $develop_bypass = 0; if ($develop_bypass != 1) { // error_reporting(E_ALL); - if (strnatcmp(phpversion(),'5.2.11') >= 0) + if (version_compare(PHP_VERSION, '5.3.0') >= 0) { error_reporting(E_ALL & ~E_DEPRECATED & ~E_NOTICE); }