projects
/
Pman.Base
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
60161a0
)
Pman.php
author
Alan Knowles
<alan@akbkhome.com>
Thu, 16 Dec 2010 08:18:39 +0000
(16:18 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Thu, 16 Dec 2010 08:18:39 +0000
(16:18 +0800)
Pman.php
patch
|
blob
|
history
diff --git
a/Pman.php
b/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);