2013-10-04 Miguel de Dios <miguel.dedios@artica.es>

* 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
This commit is contained in:
mdtrooper 2013-10-04 08:25:39 +00:00
parent 9990a5a0a3
commit 483118b363
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2013-10-04 Miguel de Dios <miguel.dedios@artica.es>
* include/config_process.php: fixed the show strict error in PHP
version 5.4.0 to up.
2013-10-04 Sergio Martin <sergio.martin@artica.es>
* include/functions_alerts.php: Fixed group filter in

View File

@ -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
{