Improve protection from displaying errors to visitors

This commit is contained in:
Techan 2014-03-31 21:12:04 +02:00 committed by czaks
parent 8b7dd1acca
commit eb2a468a09

View File

@ -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