aboutsummaryrefslogtreecommitdiff
path: root/ratatoeskr/main.php
diff options
context:
space:
mode:
Diffstat (limited to 'ratatoeskr/main.php')
-rw-r--r--ratatoeskr/main.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/ratatoeskr/main.php b/ratatoeskr/main.php
index 2a424e7..f1a641f 100644
--- a/ratatoeskr/main.php
+++ b/ratatoeskr/main.php
@@ -51,6 +51,9 @@ function _ratatoeskr()
db_connect();
clean_database();
+ if(isset($ratatoeskr_settings["debugmode"]) and $ratatoeskr_settings["debugmode"])
+ define("__DEBUG__", True);
+
if(PLUGINS_ENABLED)
{
$activeplugins = array_filter(Plugin::all(), function($plugin) { return $plugin->active; });