From 4df1d3d5125fda308bf2d99413577f135dd7f61e Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Sun, 13 Mar 2011 22:29:23 +0800 Subject: [PATCH] Pman.php --- Pman.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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; -- 2.39.2