From acf697cd1bbc2749460332bd45ab098a4e367382 Mon Sep 17 00:00:00 2001 From: Kevin Chabowski Date: Thu, 1 Mar 2012 22:02:42 +0100 Subject: Debug now toggleable in backend; used new STE features. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * If __DEBUG__ is true, STE will be in a more verbose mode. * Ratatöskr's frontend STETags now uses the \ste\RuntimeError exception This will also be Beta 3 --- ratatoeskr/main.php | 3 +++ 1 file changed, 3 insertions(+) (limited to 'ratatoeskr/main.php') 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; }); -- cgit v1.2.3-70-g09d2