UpdateTemplates.php
authorAlan Knowles <alan@roojs.com>
Mon, 9 Oct 2017 05:08:15 +0000 (13:08 +0800)
committerAlan Knowles <alan@roojs.com>
Mon, 9 Oct 2017 05:08:15 +0000 (13:08 +0800)
UpdateTemplates.php

index 2fab090..478d16f 100644 (file)
@@ -134,7 +134,7 @@ class Pman_Cms_UpdateTemplates extends Pman
             $pages[] = $pg;
         }
         
-         print_R($pages); exit;;
+        //print_R($pages); exit;;
         
          
         // now generate all the templates..
@@ -148,6 +148,7 @@ class Pman_Cms_UpdateTemplates extends Pman
             if (!empty($this->opts['template']) && $this->opts['template'] != ($pg['template_dir'] . '/'. $pg['template'])) {
                 continue;
             }
+            print_r($tp);exit;
             
             $pages[$i]['template_object'] = $tp->syncTemplatePage($pg);
         }