mirror of
https://gitlab.com/ruany/litebans-php.git
synced 2025-05-23 16:32:45 +00:00
Enable error reporting by default
This commit is contained in:
parent
7473a0916a
commit
a862212326
@ -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",
|
||||
|
Loading…
x
Reference in New Issue
Block a user