Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
09/08/2009 09:20:41 PM (15 years ago)
Author:
apeatling
Message:

Replacing ABSPATH with WP_CONTENT_DIR in avatar upload folder creation to fix issues where WPMU is loaded from a sub directory.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-core/bp-core-signup.php

    r1714 r1829  
    191191   
    192192    $path = get_blog_option( BP_ROOT_BLOG, 'upload_path' );
    193     $newdir = path_join( ABSPATH, $path );
     193    $newdir = WP_CONTENT_DIR . str_replace( 'wp-content', '', $path );
    194194    $newdir .= '/avatars/signups/' . $bp->signup->avatar_dir;
    195195
Note: See TracChangeset for help on using the changeset viewer.