Get rid of niggling hardcoded blogs.dir path. props scribu. fixes #15383
git-svn-id: https://develop.svn.wordpress.org/trunk@16738 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
298e9c04bd
commit
846861441b
@ -983,7 +983,7 @@ function install_blog($blog_id, $blog_title = '') {
|
||||
update_option('siteurl', $url);
|
||||
update_option('home', $url);
|
||||
update_option('fileupload_url', $url . "files" );
|
||||
update_option('upload_path', "wp-content/blogs.dir/" . $blog_id . "/files");
|
||||
update_option('upload_path', UPLOADBLOGSDIR . "/$blog_id/files");
|
||||
update_option('blogname', stripslashes( $blog_title ) );
|
||||
update_option('admin_email', '');
|
||||
$wpdb->update( $wpdb->options, array('option_value' => ''), array('option_name' => 'admin_email') );
|
||||
|
Loading…
Reference in New Issue
Block a user