From: Alan Knowles Date: Thu, 16 Dec 2010 08:18:39 +0000 (+0800) Subject: Pman.php X-Git-Url: http://git.roojs.org/?p=Pman.Base;a=commitdiff_plain;h=1b82253c24dc147f2155c189d00199a6472a5560 Pman.php --- diff --git a/Pman.php b/Pman.php index b3646aa..6415a8e 100644 --- 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);