mirror of
https://gitlab.com/ruany/litebans-php.git
synced 2025-05-24 00:42:43 +00:00
Remove debug_mode
This commit is contained in:
parent
b8b4d25b70
commit
0b5aa7f0fb
@ -271,9 +271,6 @@ class Page {
|
||||
$this->table_print_headers($headers);
|
||||
$this->table_headers_printed = true;
|
||||
}
|
||||
if ($this->settings->debug_mode > 0) {
|
||||
var_dump($row);
|
||||
}
|
||||
$id = $row['id'];
|
||||
$type = $this->type;
|
||||
echo "<tr>";
|
||||
|
@ -66,8 +66,6 @@ final class Settings {
|
||||
$this->date_format = 'F j, Y, g:i A';
|
||||
date_default_timezone_set("UTC");
|
||||
|
||||
$this->debug_mode = 0;
|
||||
|
||||
// Enable PHP error reporting.
|
||||
$error_reporting = true;
|
||||
|
||||
@ -115,10 +113,6 @@ final class Settings {
|
||||
if ($driver === 'pgsql') {
|
||||
$this->conn->query("SET NAMES 'UTF8';");
|
||||
}
|
||||
|
||||
if ($this->debug_mode > 0) {
|
||||
echo PHP_VERSION;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user