Skip to:
Content

BuddyPress.org

Changeset 1416 for trunk/bp-xprofile.php


Ignore:
Timestamp:
04/27/2009 03:55:00 PM (17 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-xprofile.php

    r1402 r1416  
    88    define ( 'BP_XPROFILE_SLUG', 'profile' );
    99
    10 require ( 'bp-xprofile/bp-xprofile-classes.php' );
    11 require ( 'bp-xprofile/bp-xprofile-filters.php' );
    12 require ( 'bp-xprofile/bp-xprofile-signup.php' );
    13 require ( 'bp-xprofile/bp-xprofile-templatetags.php' );
    14 require ( 'bp-xprofile/bp-xprofile-notifications.php' );
    15 require ( 'bp-xprofile/bp-xprofile-cssjs.php' );
     10require ( BP_PLUGIN_DIR . '/bp-xprofile/bp-xprofile-classes.php' );
     11require ( BP_PLUGIN_DIR . '/bp-xprofile/bp-xprofile-filters.php' );
     12require ( BP_PLUGIN_DIR . '/bp-xprofile/bp-xprofile-signup.php' );
     13require ( BP_PLUGIN_DIR . '/bp-xprofile/bp-xprofile-templatetags.php' );
     14require ( BP_PLUGIN_DIR . '/bp-xprofile/bp-xprofile-notifications.php' );
     15require ( BP_PLUGIN_DIR . '/bp-xprofile/bp-xprofile-cssjs.php' );
    1616
    1717/* Assign the base group and fullname field names to constants to use in SQL statements */
     
    171171        return false;
    172172
    173     require ( 'bp-xprofile/bp-xprofile-admin.php' );
     173    require ( BP_PLUGIN_DIR . '/bp-xprofile/bp-xprofile-admin.php' );
    174174   
    175175    /* Add the administration tab under the "Site Admin" tab for site administrators */
Note: See TracChangeset for help on using the changeset viewer.