summaryrefslogtreecommitdiffstats
path: root/index.php
diff options
context:
space:
mode:
authordonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2006-01-11 12:18:58 +0000
committerdonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2006-01-11 12:18:58 +0000
commit7ca992d4e59321b2f3e5a6e2aa21c3bc56d39d55 (patch)
treef9e8b2d66d54b4c865ad958d1dd1d8e827f36b59 /index.php
parent5d8662b68da29a98739bceec6f93b7340ed5222e (diff)
downloadwordpress-mu-7ca992d4e59321b2f3e5a6e2aa21c3bc56d39d55.tar.gz
wordpress-mu-7ca992d4e59321b2f3e5a6e2aa21c3bc56d39d55.tar.xz
wordpress-mu-7ca992d4e59321b2f3e5a6e2aa21c3bc56d39d55.zip
Extra options and minor change to welcome email
git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@501 7be80a69-a1ef-0310-a953-fb0f7c49ff36
Diffstat (limited to 'index.php')
-rw-r--r--index.php7
1 files changed, 5 insertions, 2 deletions
diff --git a/index.php b/index.php
index f05cacc..68acfcd 100644
--- a/index.php
+++ b/index.php
@@ -408,6 +408,10 @@ function step3() {
$wpdb->query( $query );
$wpdb->query( "INSERT INTO ".$wpdb->site." ( id, domain, path ) VALUES ( NULL, '$domain', '$base' )" );
$wpdb->query( "INSERT INTO " . $wpdb->sitecategories . " VALUES (1, 'Uncategorized', 'uncategorized', '')" );
+ $wpdb->query( "INSERT INTO ".$wpdb->sitemeta." (meta_id, site_id, meta_key, meta_value) VALUES (NULL, 1, 'upload_filetypes', 'jpg jpeg png gif mp3 mov avi wmv midi mid pdf' )" );
+ $wpdb->query( "INSERT INTO ".$wpdb->sitemeta." (meta_id, site_id, meta_key, meta_value) VALUES (NULL, 1, 'blog_upload_space', '10' )" );
+ $wpdb->query( "INSERT INTO ".$wpdb->sitemeta." (meta_id, site_id, meta_key, meta_value) VALUES (NULL, 1, 'fileupload_maxk', '1500' )" );
+ $wpdb->query( "INSERT INTO ".$wpdb->sitemeta." (meta_id, site_id, meta_key, meta_value) VALUES (NULL, 1, 'site_admins', 'admin' )" );
$wpdb->query( "INSERT INTO ".$wpdb->sitemeta." (meta_id, site_id, meta_key, meta_value) VALUES (NULL, 1, 'welcome_email', 'Dear User,
@@ -422,8 +426,7 @@ Login Here: BLOG_URLwp-login.php
We hope you enjoy your new weblog.
Thanks!
---The WordPress Team
-SITE_NAME')" );
+--The Team @ SITE_NAME')" );
$wpdb->query( "INSERT INTO ".$wpdb->sitemeta." (meta_id, site_id, meta_key, meta_value) VALUES (NULL, 1, 'first_post', 'Welcome to <a href=\"SITE_URL\">SITE_NAME</a>. This is your first post. Edit or delete it, then start blogging!' )" );
$res = createBlog( $domain, $base, 'admin', $weblog_title, $email );