diff options
author | Kevin Chabowski <kevin@kch42.de> | 2013-10-03 22:30:58 +0200 |
---|---|---|
committer | Kevin Chabowski <kevin@kch42.de> | 2013-10-03 22:30:58 +0200 |
commit | 78c95c09f05e4fa12b66bd27714ce4889a892c21 (patch) | |
tree | 7827469ff419391efec3271576395d567ec5bc4f /ratatoeskr/sys/init_ste.php | |
parent | b302319e6c62f6b31d53197a08134c6c9bf8735b (diff) | |
download | ratatoeskr-cms-78c95c09f05e4fa12b66bd27714ce4889a892c21.tar.gz ratatoeskr-cms-78c95c09f05e4fa12b66bd27714ce4889a892c21.tar.bz2 ratatoeskr-cms-78c95c09f05e4fa12b66bd27714ce4889a892c21.zip |
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.
Diffstat (limited to 'ratatoeskr/sys/init_ste.php')
-rw-r--r-- | ratatoeskr/sys/init_ste.php | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |