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/sys/init_ste.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'ratatoeskr/sys/init_ste.php') diff --git a/ratatoeskr/sys/init_ste.php b/ratatoeskr/sys/init_ste.php index f13eeb8..ae5cb95 100644 --- a/ratatoeskr/sys/init_ste.php +++ b/ratatoeskr/sys/init_ste.php @@ -23,6 +23,8 @@ if(!isset($ste)) * The global STECore (Stupid Template Engine) instance. */ $ste = new \ste\STECore(new \ste\FilesystemStorageAccess("$tpl_basedir/src", "$tpl_basedir/transc")); + if(__DEBUG__) + $ste->mute_runtime_errors = False; } $ste->register_tag( -- cgit v1.2.3-54-g00ecf