diff options
Diffstat (limited to 'functions.php')
-rw-r--r-- | functions.php | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/functions.php b/functions.php index 3b9346c5f..715d29dee 100644 --- a/functions.php +++ b/functions.php @@ -1,7 +1,11 @@ <?php date_default_timezone_set('UTC'); - error_reporting(E_ALL & ~E_NOTICE); + if (defined('E_DEPRECATED')) { + error_reporting(E_ALL & ~E_NOTICE & ~E_DEPRECATED); + } else { + error_reporting(E_ALL & ~E_NOTICE); + } require_once 'config.php'; |