Skip to:
Content

BuddyPress.org

Changeset 1646


Ignore:
Timestamp:
08/10/2009 03:15:42 PM (17 years ago)
Author:
apeatling
Message:

Replacing require with require_once to support backwards compatibility in old home theme. Props jjj.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-themes/bphome/functions.php

    r1366 r1646  
    6868    global $bp, $current_blog;
    6969   
    70     require ( BP_PLUGIN_DIR . '/bp-core/bp-core-signup.php' );
     70    require_once ( BP_PLUGIN_DIR . '/bp-core/bp-core-signup.php' );
    7171   
    7272    if ( $bp->current_component == BP_REGISTER_SLUG && $bp->current_action == '' ) {
     
    8080    global $bp, $current_blog;
    8181
    82     require ( BP_PLUGIN_DIR . '/bp-core/bp-core-activation.php' );
     82    require_once ( BP_PLUGIN_DIR . '/bp-core/bp-core-activation.php' );
    8383   
    8484    if ( $bp->current_component == BP_ACTIVATION_SLUG && $bp->current_action == '' ) {
Note: See TracChangeset for help on using the changeset viewer.