From 39a1058da86d4d0de7393e8af8f4ec31a5cc5c4f Mon Sep 17 00:00:00 2001
From: mdtrooper <tres.14159@gmail.com>
Date: Fri, 4 Oct 2013 08:25:39 +0000
Subject: [PATCH] 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
---
 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 <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
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
 	{