mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-23 07:51:49 +01:00
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
This commit is contained in:
parent
6c2529ebac
commit
4fbc3224d5
@ -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