Skip to:
Content

BuddyPress.org

Changeset 1416 for trunk/bp-core.php


Ignore:
Timestamp:
04/27/2009 03:55:00 PM (16 years ago)
Author:
apeatling
Message:

Adding BP_PLUGIN_DIR to all require() calls to provide absolute paths. Fixes #965

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-core.php

    r1414 r1416  
    2929
    3030/* Load the files containing functions that we globally will need. */
    31 require ( 'bp-core/bp-core-catchuri.php' );
    32 require ( 'bp-core/bp-core-classes.php' );
    33 require ( 'bp-core/bp-core-cssjs.php' );
    34 require ( 'bp-core/bp-core-avatars.php' );
    35 require ( 'bp-core/bp-core-templatetags.php' );
    36 require ( 'bp-core/bp-core-settings.php' );
    37 require ( 'bp-core/bp-core-widgets.php' );
    38 require ( 'bp-core/bp-core-ajax.php' );
    39 require ( 'bp-core/bp-core-notifications.php' );
     31require ( BP_PLUGIN_DIR . '/bp-core/bp-core-catchuri.php' );
     32require ( BP_PLUGIN_DIR . '/bp-core/bp-core-classes.php' );
     33require ( BP_PLUGIN_DIR . '/bp-core/bp-core-cssjs.php' );
     34require ( BP_PLUGIN_DIR . '/bp-core/bp-core-avatars.php' );
     35require ( BP_PLUGIN_DIR . '/bp-core/bp-core-templatetags.php' );
     36require ( BP_PLUGIN_DIR . '/bp-core/bp-core-settings.php' );
     37require ( BP_PLUGIN_DIR . '/bp-core/bp-core-widgets.php' );
     38require ( BP_PLUGIN_DIR . '/bp-core/bp-core-ajax.php' );
     39require ( BP_PLUGIN_DIR . '/bp-core/bp-core-notifications.php' );
    4040
    4141if ( !defined( 'BP_DISABLE_ADMIN_BAR') )
     
    238238        return false;
    239239   
    240     require ( 'bp-core/bp-core-admin.php' );
     240    require ( BP_PLUGIN_DIR . '/bp-core/bp-core-admin.php' );
    241241
    242242    /* Need to check db tables exist, activate hook no-worky in mu-plugins folder. */
Note: See TracChangeset for help on using the changeset viewer.