Enable error reporting by default

This commit is contained in:
ruan 2015-10-12 08:22:52 +02:00
parent 7473a0916a
commit a862212326

View File

@ -68,8 +68,17 @@ final class Settings {
$this->debug_mode = 0;
// Enable PHP error reporting.
$error_reporting = true;
/*** End of configuration ***/
if ($error_reporting) {
error_reporting(E_ALL);
ini_set("display_errors", 1);
}
$this->table = array(
'bans' => "${table_prefix}bans",
'mutes' => "${table_prefix}mutes",