Preview.php
authorAlan Knowles <alan@roojs.com>
Fri, 7 Feb 2014 03:06:35 +0000 (11:06 +0800)
committerAlan Knowles <alan@roojs.com>
Fri, 7 Feb 2014 03:06:35 +0000 (11:06 +0800)
Preview.php

index 426c2be..5e5ea97 100644 (file)
@@ -37,7 +37,7 @@ class Pman_Builder_Preview extends Pman_Cms_Preview
         // use the builder_module == app name
         // look for part with same name.
         $template_engine = new HTML_Template_Flexy(array(
-            'template_dir' => $m->path
+            'templateDir' => $m->path
         ));
         $template_engine->compile($this->template);
         if ($this->elements) { /* BC crap! */