Changeset 1659 for trunk/bb-settings.php
- Timestamp:
- 08/26/08 20:40:14 (3 months ago)
- Files:
-
- trunk/bb-settings.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/bb-settings.php
r1647 r1659 892 892 foreach ( (array) $plugins as $plugin ) { 893 893 if ( strpos($plugin, 'core#') === 0 || strpos($plugin, 'user#') === 0 ) { 894 if ( validate_file($plugin) ) // $plugin has .., :, etc. 895 continue; 896 894 897 $plugin = str_replace( 895 898 array('core#', 'user#'), … … 900 903 BB_CORE_PLUGIN_DIR != $plugin && 901 904 BB_PLUGIN_DIR != $plugin && 902 0 == validate_file($plugin) &&903 905 file_exists( $plugin ) 904 906 ) {