diff --git a/includes/page.php b/includes/page.php index 491c9b4..6d3ee76 100644 --- a/includes/page.php +++ b/includes/page.php @@ -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 ""; diff --git a/includes/settings.php b/includes/settings.php index 178dab5..77d4d09 100644 --- a/includes/settings.php +++ b/includes/settings.php @@ -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; - } } } }