Skip to:
Content

bbPress.org


Ignore:
Timestamp:
03/02/2008 10:57:25 AM (18 years ago)
Author:
sambauers
Message:

These constants don't need to be user definable, they also look nicer with underscores.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bb-admin/plugins.php

    r1174 r1185  
    55$_plugins = array();
    66if ( function_exists( 'glob' ) && is_callable( 'glob' ) ) {
    7     $_plugins_glob = glob(BBDEFAULTPLUGINDIR . '_*.php');
     7    $_plugins_glob = glob(BB_CORE_PLUGIN_DIR . '_*.php');
    88    foreach ( $_plugins_glob as $_plugin ) {
    99        $_data = bb_get_plugin_data( $_plugin );
     
    2525$update = false;
    2626foreach ( $current as $c => $cur )
    27     if ( !file_exists(BBPLUGINDIR . $cur) && !file_exists(BBDEFAULTPLUGINDIR . $cur) ) {
     27    if ( !file_exists(BBPLUGINDIR . $cur) && !file_exists(BB_CORE_PLUGIN_DIR . $cur) ) {
    2828        $update = true;
    2929        unset($current[$c]);
Note: See TracChangeset for help on using the changeset viewer.