Preview.php
authorAlan Knowles <alan@roojs.com>
Tue, 25 Feb 2014 11:41:42 +0000 (19:41 +0800)
committerAlan Knowles <alan@roojs.com>
Tue, 25 Feb 2014 11:41:42 +0000 (19:41 +0800)
Preview.php

index e45b216..b57d6e2 100644 (file)
@@ -47,13 +47,15 @@ class Pman_Builder_Preview extends Pman_Cms_Preview
     
     function outputBody()
     {
-        print_R($m->path);
-        print_R($m->template);
+        
+        
         $proj = HTML_FlexyFramework::get()->project;
         // DB_DataObject::debugLevel(1);
         $m = DB_DAtaObject::factory('Builder_modules');
         $m->get('name', $proj );
         
+        print_R($m->path);
+        print_R($m->template);
         // needs to modify the template directory??
         // use the builder_module == app name
         // look for part with same name.