From 78c95c09f05e4fa12b66bd27714ce4889a892c21 Mon Sep 17 00:00:00 2001 From: Kevin Chabowski Date: Thu, 3 Oct 2013 22:30:58 +0200 Subject: Fixed referencing and constants. * Creating a varaible reference at call time is not possbile any more. * When defining a constant, we pass the name as a string now. --- ratatoeskr/sys/init_ste.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ratatoeskr/sys/init_ste.php') diff --git a/ratatoeskr/sys/init_ste.php b/ratatoeskr/sys/init_ste.php index ae5cb95..6152683 100644 --- a/ratatoeskr/sys/init_ste.php +++ b/ratatoeskr/sys/init_ste.php @@ -23,7 +23,7 @@ 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__) + if(defined("__DEBUG__") && __DEBUG__) $ste->mute_runtime_errors = False; } -- cgit v1.2.3-54-g00ecf