Changeset 1185 for trunk/bb-admin/plugins.php
- Timestamp:
- 03/02/2008 10:57:25 AM (18 years ago)
- File:
-
- 1 edited
-
trunk/bb-admin/plugins.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/bb-admin/plugins.php
r1174 r1185 5 5 $_plugins = array(); 6 6 if ( function_exists( 'glob' ) && is_callable( 'glob' ) ) { 7 $_plugins_glob = glob(BB DEFAULTPLUGINDIR . '_*.php');7 $_plugins_glob = glob(BB_CORE_PLUGIN_DIR . '_*.php'); 8 8 foreach ( $_plugins_glob as $_plugin ) { 9 9 $_data = bb_get_plugin_data( $_plugin ); … … 25 25 $update = false; 26 26 foreach ( $current as $c => $cur ) 27 if ( !file_exists(BBPLUGINDIR . $cur) && !file_exists(BB DEFAULTPLUGINDIR . $cur) ) {27 if ( !file_exists(BBPLUGINDIR . $cur) && !file_exists(BB_CORE_PLUGIN_DIR . $cur) ) { 28 28 $update = true; 29 29 unset($current[$c]);
Note: See TracChangeset
for help on using the changeset viewer.