*
*/
- function callModules($fn, $base)
+ function callModules($fn)
{
- foreach(explode(',',$this->appModules) as $m) {
+ $ar = func_get_args();
+ array_shift($ar);
+ foreach(explode(',',$this->appModules) as $m) {
$cls = 'Pman_'. $m . '_Pman';
if (!file_exists($this->rootDir . '/'.str_replace('_','/', $cls). '.php')) {
continue;
$this->init();
if (empty($base)) {
$this->callModules('init', $base);
- // $this->initModules($base);
}
//$this->allowSignup= empty($opts['allowSignup']) ? 0 : 1;