From 4fbc3224d58e94cb3bec2e4efc4c9fbb97bbbfee Mon Sep 17 00:00:00 2001 From: markjaquith 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: http://svn.automattic.com/wordpress/trunk@16738 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- 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 10d28d47c..b0696d661 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') );