$plugin ) { $plugin_dir = dirname($plugin); if ( $plugin_dir == $dir ) { $found = true; break; } } if ( !$found || 0 == $i ) return; unset($current[$i]); array_unshift($current, $plugin); update_option('active_plugins', $current); } private static function load($path, $classes) { foreach ( $classes as $class_name ) { if ( class_exists($class_name) ) continue; $fpath = $path . substr($class_name, 3) . '.php'; @include $fpath; } } static function get_candidates() { return self::$candidates; } } endif; scbLoad3::init(1, __FILE__, array( 'scbOptions', 'scbForms', 'scbAdminPage', 'scbBoxesPage', 'scbWidget', 'scbCron', 'scbTable', 'scbUtil', 'scbRewrite', ));