projects
/
Pman.Builder
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
acda999
)
Preview.php
author
Alan Knowles
<alan@roojs.com>
Mon, 1 Sep 2014 06:53:10 +0000
(14:53 +0800)
committer
Alan Knowles
<alan@roojs.com>
Mon, 1 Sep 2014 06:53:10 +0000
(14:53 +0800)
Preview.php
patch
|
blob
|
history
diff --git
a/Preview.php
b/Preview.php
index
9ea9db1
..
45dc102
100644
(file)
--- a/
Preview.php
+++ b/
Preview.php
@@
-71,7
+71,10
@@
class Pman_Builder_Preview extends Pman_Cms_Preview
$template_engine = new HTML_Template_Flexy(array(
'templateDir' => $m->path
));
+ } else {
+ $template_engine = new HTML_Template_Flexy();
}
+
$template_engine->compile($this->template);
if ($this->elements) { /* BC crap! */
$this->elements = HTML_Template_Flexy_Factory::setErrors($this->elements,$this->errors);