projects
/
Pman.Base
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d1e0167
)
Pman.php
author
Edward
<edward@roojs.com>
Mon, 18 May 2015 05:25:36 +0000
(13:25 +0800)
committer
Edward
<edward@roojs.com>
Mon, 18 May 2015 05:25:36 +0000
(13:25 +0800)
Pman.php
patch
|
blob
|
history
diff --git
a/Pman.php
b/Pman.php
index
95a1818
..
6a30961
100644
(file)
--- a/
Pman.php
+++ b/
Pman.php
@@
-247,6
+247,11
@@
class Pman extends HTML_FlexyFramework_Page
array_unshift($mods, 'Core');
}
+ if (in_array($this->appNameShort,$mods)) { // Project has to be the last modules loaded as it contains Pman.js
+ unset($mods[array_search($this->appNameShort, $mods)]);
+ $mods[] = $this->appNameShort;
+ }
+
$mods = array_unique($mods);
$disabled = explode(',', $boot->disable ? $boot->disable : '');