summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/functions.php7
1 files changed, 2 insertions, 5 deletions
diff --git a/include/functions.php b/include/functions.php
index c573042a2..fc79d2fca 100644
--- a/include/functions.php
+++ b/include/functions.php
@@ -11,11 +11,8 @@
if (function_exists("mb_internal_encoding")) mb_internal_encoding("UTF-8");
date_default_timezone_set('UTC');
- if (defined('E_DEPRECATED')) {
- error_reporting(E_ALL & ~E_NOTICE & ~E_DEPRECATED);
- } else {
- error_reporting(E_ALL & ~E_NOTICE);
- }
+
+ error_reporting(E_ALL & ~E_NOTICE & ~E_DEPRECATED);
ini_set('display_errors', "false");
ini_set('display_startup_errors', "false");