Remove debug_mode

This commit is contained in:
ruan 2015-10-27 07:22:11 +02:00
parent b8b4d25b70
commit 0b5aa7f0fb
2 changed files with 0 additions and 9 deletions

View File

@ -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>";

View File

@ -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;
}
}
}
}