1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-15 02:57:15 +02:00

Admin navigation speed.

This commit is contained in:
Cameron
2017-02-03 20:18:45 -08:00
parent 645bc2a791
commit 8dadf11e7a
5 changed files with 794 additions and 18 deletions

View File

@@ -254,7 +254,9 @@ class pluginManager{
{
global $user_pref,$admin_log;
$tmp = explode('.', e_QUERY);
$qry = str_replace('XDEBUG_PROFILE', '', e_QUERY);
$tmp = explode('.',$qry);
$this -> action = ($tmp[0]) ? $tmp[0] : "installed";
$this -> id = !empty($tmp[1]) ? intval($tmp[1]) : "";
@@ -1261,10 +1263,20 @@ class pluginManager{
$plug_vars = false;
$plugin_config_icon = "";
if($plugin->parse_plugin($plug['plugin_path']))
if(deftrue('e_DEBUG_PLUGMANAGER'))
{
$plug_vars = $plugin->plug_vars;
$plug_vars = e107::getPlug()->getMeta($plug['plugin_path']);
}
else
{
if($plugin->parse_plugin($plug['plugin_path']))
{
$plug_vars = $plugin->plug_vars;
}
}
if(varset($plug['plugin_category']) == "menu") // Hide "Menu Only" plugins.
{