Improve protection from displaying errors to visitors
This commit is contained in:
parent
8b7dd1acca
commit
eb2a468a09
@ -215,6 +215,8 @@ function loadConfig() {
|
|||||||
error_reporting(E_ALL);
|
error_reporting(E_ALL);
|
||||||
ini_set('display_errors', true);
|
ini_set('display_errors', true);
|
||||||
ini_set('html_errors', false);
|
ini_set('html_errors', false);
|
||||||
|
} else {
|
||||||
|
ini_set('display_errors', false);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Keep the original address to properly comply with other board configurations
|
// Keep the original address to properly comply with other board configurations
|
||||||
|
Loading…
Reference in New Issue
Block a user