diff --git a/includes/page.php b/includes/page.php index 9c9ef5c..41dd643 100644 --- a/includes/page.php +++ b/includes/page.php @@ -254,6 +254,9 @@ class Page { } function print_table_rows($row, $array) { + 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 7e9ce14..da1b4d3 100644 --- a/includes/settings.php +++ b/includes/settings.php @@ -63,6 +63,7 @@ final class Settings { $this->date_format = 'F j, Y, g:i A'; date_default_timezone_set("UTC"); + $this->debug_mode = 0; /*** End of configuration ***/