WordPress.org

Make WordPress Core

Changeset 16738


Ignore:
Timestamp:
12/06/2010 03:35:33 AM (7 years ago)
Author:
markjaquith
Message:

Get rid of niggling hardcoded blogs.dir path. props scribu. fixes #15383

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/ms-functions.php

    r16438 r16738  
    984984    update_option('home', $url);
    985985    update_option('fileupload_url', $url . "files" );
    986     update_option('upload_path', "wp-content/blogs.dir/" . $blog_id . "/files");
     986    update_option('upload_path', UPLOADBLOGSDIR . "/$blog_id/files");
    987987    update_option('blogname', stripslashes( $blog_title ) );
    988988    update_option('admin_email', '');
Note: See TracChangeset for help on using the changeset viewer.