From 33ac0d61a5fce3d82c7803350eb2636a54c1df3f Mon Sep 17 00:00:00 2001 From: Edward Date: Thu, 4 Oct 2018 19:30:03 +0800 Subject: [PATCH] Pman.php --- Pman.php | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/Pman.php b/Pman.php index 7a9aa1d..8cc13fc 100644 --- a/Pman.php +++ b/Pman.php @@ -704,16 +704,7 @@ class Pman extends HTML_FlexyFramework_Page $is_bootstrap = in_array('BAdmin', $mods); foreach($mods as $mod) { - - $cls = 'Pman_' . $mod . '_Pman'; - - if (file_exists($this->rootDir . '/'.str_replace('_','/', $cls). '.php')) { - require_once str_replace('_','/', $cls). '.php'; - $c = new $cls(); - if (method_exists($c,'outputJavascriptIncludes')) { - $c->outputOverlayStringJavascript(); - } - } + // add the css file.. if ($is_bootstrap) { if (!file_exists($this->rootDir."/Pman/$mod/is_bootstrap")) { @@ -726,7 +717,6 @@ class Pman extends HTML_FlexyFramework_Page $this->outputJavascriptDir("Pman/$mod/widgets", "*.js"); $this->outputJavascriptDir("Pman/$mod", "*.js"); - } if (empty($this->disable_jstemplate)) { -- 2.39.2