From: Alan Knowles Date: Mon, 17 Sep 2018 02:12:53 +0000 (+0800) Subject: Pman.php X-Git-Url: http://git.roojs.org/?p=Pman.Base;a=commitdiff_plain;h=35d193886a94fadfb784726a63c0f617a60815c9 Pman.php --- diff --git a/Pman.php b/Pman.php index 25b78c7..02e194a 100644 --- a/Pman.php +++ b/Pman.php @@ -143,6 +143,7 @@ class Pman extends HTML_FlexyFramework_Page function callModules($fn) { $args = func_get_args(); + array_shift($args); foreach(explode(',',$this->appModules) as $m) { $cls = 'Pman_'. $m . '_Pman'; if (!file_exists($this->rootDir . '/'.str_replace('_','/', $cls). '.php')) { @@ -744,7 +745,7 @@ class Pman extends HTML_FlexyFramework_Page $this->outputCSSDir("Pman/$mod","*.css"); } - $this->callModules('outputCSSIncludes', false); + $this->callModules('outputCSSIncludes', $this); }