projects
/
Pman.Base
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
96c9cae
)
remove the reorder code from modules - the appshortname affects loading order
author
Alan
<alan@roojs.com>
Thu, 15 Jun 2023 03:33:29 +0000
(11:33 +0800)
committer
Alan
<alan@roojs.com>
Thu, 15 Jun 2023 03:33:29 +0000
(11:33 +0800)
Pman.php
patch
|
blob
|
history
diff --git
a/Pman.php
b/Pman.php
index
ff85975
..
fd17b43
100644
(file)
--- a/
Pman.php
+++ b/
Pman.php
@@
-739,15
+739,7
@@
class Pman extends HTML_FlexyFramework_Page
$mods = $this->modulesList();
$mods = $this->modulesList();
- // this puts the 'main one' at the end.
- // as in theory we can override the stuff in the main project?
-
-
- $core = array_shift($mods);
- $fm = array_shift($mods);
- array_unshift($mods,$core);
- $mods[] = $fm;
- // print_R($mods);exit;
+
$is_bootstrap = in_array('BAdmin', $mods);
foreach($mods as $mod) {
$is_bootstrap = in_array('BAdmin', $mods);
foreach($mods as $mod) {
@@
-755,7
+747,7
@@
class Pman extends HTML_FlexyFramework_Page
if ($is_bootstrap) {
if (!file_exists($this->rootDir."/Pman/$mod/is_bootstrap")) {
if ($is_bootstrap) {
if (!file_exists($this->rootDir."/Pman/$mod/is_bootstrap")) {
- echo '<!-- missing '. $this->rootDir."/Pman/$mod/is_bootstrap - skipping -->
\n
";
+ echo '<!-- missing '. $this->rootDir."/Pman/$mod/is_bootstrap - skipping -->";
continue;
}
continue;
}