Ignore:
Timestamp:
Feb 28, 2011, 10:50:28 AM (13 years ago)
Author:
patdenice
Message:

Some optimizations.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/PWG_Stuffs/admin/admin.php

    r9383 r9410  
    77load_language('plugin.lang', STUFFS_PATH);
    88include_once(PHPWG_ROOT_PATH.'admin/include/tabsheet.class.php');
    9 include_once(STUFFS_PATH . 'include/functions.inc.php');
     9include_once(STUFFS_PATH . 'functions.inc.php');
    1010$my_base_url = get_admin_plugin_menu_link(__FILE__);
    1111
     
    4242{
    4343  $module['path'] = PHPWG_ROOT_PATH.trim($module['path'], './').'/';
    44 
    45   if (preg_match('#^'.preg_quote(PHPWG_PLUGINS_PATH).'([^/]*?)/#', $module['path'], $match) and $match[1] != 'PWG_Stuffs')
    46   {
    47    $module['parent'] = $match[1];
    48   }
    4944  $modules[$module['path']] = $module;
    5045}
Note: See TracChangeset for help on using the changeset viewer.