Pman.php
authorAlan Knowles <alan@roojs.com>
Fri, 7 Aug 2015 06:55:01 +0000 (14:55 +0800)
committerAlan Knowles <alan@roojs.com>
Fri, 7 Aug 2015 06:55:01 +0000 (14:55 +0800)
Pman.php

index 5ee380c..a044175 100644 (file)
--- a/Pman.php
+++ b/Pman.php
@@ -85,6 +85,13 @@ class Pman extends HTML_FlexyFramework_Page
         // if a file Pman_{module}_Pman exists.. and it has an init function... - call that..
         
         //var_dump($this->appModules);
+        
+        
+        
+    }
+    
+    function initModules()
+    {
         foreach(explode(',',$this->appModules) as $m) {
             $cls = 'Pman_'. $m . '_Pman';
             //echo $cls;
@@ -99,10 +106,10 @@ class Pman extends HTML_FlexyFramework_Page
                 $c->init($this);
             }
         }
-        
-        
     }
     
+    
+    
     function get($base) 
     {
         $this->init();