commit 5fce32b38ea89009be2806697078c822fda3fc0f
parent c4cbc19335100f755fcf52202e1c93d721170ff7
Author: dankert <dankert@laptop-jan>
Date: Wed, 20 Mar 2013 21:40:19 +0100
Debug-Ausgabe im Template-Compiler.
Diffstat:
2 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/config/config-default.php b/config/config-default.php
@@ -853,4 +853,7 @@ $conf['wiki']['convert_html']=true;
$conf['wiki']['convert_bbcode']=true;
$conf['wiki']['tag_strong']= "*";
$conf['wiki']['tag_emphatic']= "_";
+
+$conf['production']= true;
+
?>
\ No newline at end of file
diff --git a/util/TemplateEngine.class.php b/util/TemplateEngine.class.php
@@ -216,6 +216,9 @@ class TemplateEngine
// Baustein nicht vorhanden, Abbbruch.
die( get_class($this).': Compile failed, file not found: '.$inFileName );
+ if ( !$conf['production'])
+ fwrite( $outFileHandler,"<!-- Compiling $infile @ ".date('r')." -->" );
+
$values = array();
foreach( $attr as $attrName=>$attrValue )
{