2010-05-24 Miguel de Dios <miguel.dedios@artica.es>

* 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 



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2788 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
mdtrooper 2010-05-24 12:20:10 +00:00
parent 015b7438f7
commit a6261fd4b3
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2010-05-24 Miguel de Dios <miguel.dedios@artica.es>
* 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 <miguel.dedios@artica.es>
* include/fgraph.php: fixed again when execute fgraphs.php without login in

View File

@ -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);
}