From 846861441b1dbab9bea3047cb137c09b01b6df00 Mon Sep 17 00:00:00 2001 From: Mark Jaquith Date: Mon, 6 Dec 2010 03:35:33 +0000 Subject: [PATCH] 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 --- wp-includes/ms-functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/ms-functions.php b/wp-includes/ms-functions.php index 10d28d47cb..b0696d6614 100644 --- a/wp-includes/ms-functions.php +++ b/wp-includes/ms-functions.php @@ -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') );