From: Alan Knowles Date: Sun, 13 Mar 2011 14:29:23 +0000 (+0800) Subject: Pman.php X-Git-Url: http://git.roojs.org/?a=commitdiff_plain;h=4df1d3d5125fda308bf2d99413577f135dd7f61e;hp=d8dfa5e102978206f39576ee82330fe8dd87ca0e;p=Pman.Base Pman.php --- diff --git a/Pman.php b/Pman.php index 1a0cf45..1bd57b8 100644 --- a/Pman.php +++ b/Pman.php @@ -174,10 +174,11 @@ class Pman extends HTML_FlexyFramework_Page { // appModules/appDisable contain a comma limited list of // both modules and components that can be enabled/disabled.. - + $boot = HTML_FlexyFramework::get(); + // the modules call just lists the modules $enabled = array('Core' => true); - $am = !empty($this->appModules) ? explode(',', $this->appModules) : array(); + $am = !empty($boot->enable) ? explode(',', $boot->enable) : array(); foreach($am as $k) { if (strpos( $k ,'.') ) { continue; @@ -186,7 +187,7 @@ class Pman extends HTML_FlexyFramework_Page } - $disabled = !empty($this->appDisable) ? explode(',', $this->appDisable) : array(); + $disabled = !empty($boot->disable) ? explode(',', $boot->disable) : array(); foreach($disabled as $k) { if ( strpos( $k ,'.') ) { continue;