Pman.php
authorAlan Knowles <alan@akbkhome.com>
Thu, 16 Dec 2010 08:18:39 +0000 (16:18 +0800)
committerAlan Knowles <alan@akbkhome.com>
Thu, 16 Dec 2010 08:18:39 +0000 (16:18 +0800)
Pman.php

index b3646aa..6415a8e 100644 (file)
--- a/Pman.php
+++ b/Pman.php
@@ -490,7 +490,10 @@ class Pman extends HTML_FlexyFramework_Page
     {
         
         $mods = explode(',', $this->appModules);
-        array_unshift($mods,   'Core');
+        if (!in_array('Core',$this->appModules)) {
+            array_unshift($mods,   'Core');
+        }
+        
         $mods = array_unique($mods);