Pman.php
[Pman.Base] / Pman.php
index 33e7cd3..23657a5 100644 (file)
--- a/Pman.php
+++ b/Pman.php
@@ -158,7 +158,7 @@ class Pman extends HTML_FlexyFramework_Page
                 call_user_func_array(array($c,$fn),$args);
             }
         }
-        return;
+         
      }
     
     function get($base, $opts=array()) 
@@ -753,8 +753,13 @@ class Pman extends HTML_FlexyFramework_Page
         $mods = $this->modulesList();
         
         $this->callModules('applyCSSIncludes', $this);
+        foreach($this->css_includes as $module => $ar) {
+            if ($ar) {
+                $this->assetArrayToHtml( $ar , 'css');
+            }
+        }
         
-        
+        // old style... - probably remove this...
         $this->callModules('outputCSSIncludes', $this);
         
         foreach($mods as $mod) {