Skip to:
Content

BuddyPress.org

Changeset 1309


Ignore:
Timestamp:
04/03/2009 05:56:08 PM (15 years ago)
Author:
apeatling
Message:

Better fix for Windows BP_PLUGIN_* problem.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-core.php

    r1308 r1309  
    1515
    1616/* Define the path and url of the BuddyPress plugins directory */
    17 $bpdir = str_replace( WP_PLUGIN_DIR, '', dirname(__FILE__) );
    18 define( 'BP_PLUGIN_DIR', WP_PLUGIN_DIR . $bpdir );
    19 define( 'BP_PLUGIN_URL', WP_PLUGIN_URL . $bpdir );
     17$bpdir = array_pop( explode( DIRECTORY_SEPARATOR, dirname(__FILE__) ) );
     18define( 'BP_PLUGIN_DIR', WP_PLUGIN_DIR . '/' . $bpdir );
     19define( 'BP_PLUGIN_URL', WP_PLUGIN_URL . '/' . $bpdir );
    2020
    2121/* Place your custom code (actions/filters) in a file called bp-custom.php and it will be loaded before anything else. */
Note: See TracChangeset for help on using the changeset viewer.