diff options
| author | wn_ <invalid@email.com> | 2025-05-18 14:09:27 +0000 |
|---|---|---|
| committer | wn_ <invalid@email.com> | 2025-05-18 14:09:27 +0000 |
| commit | 0acaac7115017f72120a6baea13778563a755238 (patch) | |
| tree | 4d5795231107aec26298639eec0dff8a355b8cca /include | |
| parent | d859c56636e4a00fa54289b194f0dafa8dffa2be (diff) | |
Remove an outdated check for 'E_DEPRECATED' existence.
Diffstat (limited to 'include')
| -rw-r--r-- | include/functions.php | 7 |
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"); |