From 3fbcc69f8283eeba4ce0de126c34490021c9eb4b Mon Sep 17 00:00:00 2001 From: Fahad Abbas Date: Tue, 19 Dec 2017 17:38:44 +0500 Subject: [PATCH] modified : testing for development mdode --- upload/includes/common.php | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/upload/includes/common.php b/upload/includes/common.php index 97069fa6..fc52a286 100644 --- a/upload/includes/common.php +++ b/upload/includes/common.php @@ -127,13 +127,10 @@ case 2: default: { - if(phpversion() >= '5.3.0') { - error_reporting(E_ALL & ~(E_NOTICE | E_DEPRECATED | E_STRICT | E_WARNING)); - ini_set('display_errors', 'on'); - } else { - error_reporting(E_ALL ^E_NOTICE); - ini_set('display_errors', 'on'); - } + + error_reporting(E_ALL & ~(E_NOTICE | E_DEPRECATED | E_STRICT | E_WARNING)); + ini_set('display_errors', 'on'); + } }