diff options
author | Andrew Dolgov <[email protected]> | 2019-12-19 08:37:19 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2019-12-19 08:37:19 +0300 |
commit | 6439f7817d779f43437b79dfb04e5254f7e0bbf4 (patch) | |
tree | 63c3102807bbd645bfb9ddf87537bc5e6eff8b4a /include/functions.php | |
parent | c309856a976b230a56b1eb700590111bd2ad7451 (diff) |
force-disable php display_errors/display_startup_errors on startup
Diffstat (limited to 'include/functions.php')
-rw-r--r-- | include/functions.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/functions.php b/include/functions.php index 47dd9c73c..f244b47b8 100644 --- a/include/functions.php +++ b/include/functions.php @@ -27,6 +27,9 @@ error_reporting(E_ALL & ~E_NOTICE); } + ini_set('display_errors', 0); + ini_set('display_startup_errors', 0); + require_once 'config.php'; /** |