aboutsummaryrefslogtreecommitdiff
path: root/ratatoeskr/sys
diff options
context:
space:
mode:
authorKevin Chabowski <kevin@kch42.de>2012-03-01 22:02:42 +0100
committerKevin Chabowski <kevin@kch42.de>2012-03-01 22:02:42 +0100
commitacf697cd1bbc2749460332bd45ab098a4e367382 (patch)
tree90dfdf4ea722f964732e1ca612aa2a742250a175 /ratatoeskr/sys
parenta940213bc467fce611854002e15b05fef5a0d3c8 (diff)
downloadratatoeskr-cms-acf697cd1bbc2749460332bd45ab098a4e367382.tar.gz
ratatoeskr-cms-acf697cd1bbc2749460332bd45ab098a4e367382.tar.bz2
ratatoeskr-cms-acf697cd1bbc2749460332bd45ab098a4e367382.zip
Debug now toggleable in backend; used new STE features.
* 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
Diffstat (limited to 'ratatoeskr/sys')
-rw-r--r--ratatoeskr/sys/init_ste.php2
-rw-r--r--ratatoeskr/sys/plugin_api.php2
2 files changed, 3 insertions, 1 deletions
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(
diff --git a/ratatoeskr/sys/plugin_api.php b/ratatoeskr/sys/plugin_api.php
index c592db3..f6d1c2d 100644
--- a/ratatoeskr/sys/plugin_api.php
+++ b/ratatoeskr/sys/plugin_api.php
@@ -167,7 +167,7 @@ abstract class RatatoeskrPlugin
*
* Parameters:
* $label - The label for the page.
- * $fx - A function for <urlprocess>.
+ * $fx - A function for <url_process>.
*
* Your $fx should output output the result of a STE template, which should load "/systemtemplates/master.html" and overwrite the "content" section.
*