mirror of
https://gitlab.com/ruany/litebans-php.git
synced 2025-08-21 20:22:25 +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;
|
$this->debug_mode = 0;
|
||||||
|
|
||||||
|
// Enable PHP error reporting.
|
||||||
|
$error_reporting = true;
|
||||||
|
|
||||||
|
|
||||||
/*** End of configuration ***/
|
/*** End of configuration ***/
|
||||||
|
|
||||||
|
if ($error_reporting) {
|
||||||
|
error_reporting(E_ALL);
|
||||||
|
ini_set("display_errors", 1);
|
||||||
|
}
|
||||||
|
|
||||||
$this->table = array(
|
$this->table = array(
|
||||||
'bans' => "${table_prefix}bans",
|
'bans' => "${table_prefix}bans",
|
||||||
'mutes' => "${table_prefix}mutes",
|
'mutes' => "${table_prefix}mutes",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user