diff options
| author | Techan <kontakt@xn--tchan-j0a.org.pl> | 2014-03-31 21:12:04 +0200 |
|---|---|---|
| committer | czaks <marcin@6irc.net> | 2014-06-20 23:07:07 +0200 |
| commit | eb2a468a0917f1aac6af2823aa20bfb4c0861b01 (patch) | |
| tree | fcba023ec50608456255172d7b0c212dc1498059 /inc | |
| parent | 8b7dd1accac71242c5d5a6e22792faa0041e538c (diff) | |
Improve protection from displaying errors to visitors
Diffstat (limited to 'inc')
| -rw-r--r-- | inc/functions.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/inc/functions.php b/inc/functions.php index d09a3705..efc0594b 100644 --- a/inc/functions.php +++ b/inc/functions.php @@ -215,6 +215,8 @@ function loadConfig() { error_reporting(E_ALL); ini_set('display_errors', true); ini_set('html_errors', false); + } else { + ini_set('display_errors', false); } // Keep the original address to properly comply with other board configurations |
