summaryrefslogtreecommitdiff
path: root/include/functions.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2019-12-19 08:37:19 +0300
committerAndrew Dolgov <[email protected]>2019-12-19 08:37:19 +0300
commit6439f7817d779f43437b79dfb04e5254f7e0bbf4 (patch)
tree63c3102807bbd645bfb9ddf87537bc5e6eff8b4a /include/functions.php
parentc309856a976b230a56b1eb700590111bd2ad7451 (diff)
force-disable php display_errors/display_startup_errors on startup
Diffstat (limited to 'include/functions.php')
-rw-r--r--include/functions.php3
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';
/**