From 4a768b59f77dd99a0b8c0d5a212775ceadfa2c16 Mon Sep 17 00:00:00 2001 From: Alan Date: Thu, 15 Jun 2023 11:33:29 +0800 Subject: [PATCH] remove the reorder code from modules - the appshortname affects loading order --- Pman.php | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/Pman.php b/Pman.php index ff85975..fd17b43 100644 --- a/Pman.php +++ b/Pman.php @@ -739,15 +739,7 @@ class Pman extends HTML_FlexyFramework_Page $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) { @@ -755,7 +747,7 @@ class Pman extends HTML_FlexyFramework_Page if ($is_bootstrap) { if (!file_exists($this->rootDir."/Pman/$mod/is_bootstrap")) { - echo '\n"; + echo '"; continue; } -- 2.39.2