From d67b8e8debe311de5cfdc393c36513b89bef9c40 Mon Sep 17 00:00:00 2001 From: donncha Date: Thu, 18 Oct 2007 11:19:30 +0000 Subject: Really fix the allowedthemes array git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@1098 7be80a69-a1ef-0310-a953-fb0f7c49ff36 --- index-install.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'index-install.php') diff --git a/index-install.php b/index-install.php index b9b0ebf..270835d 100644 --- a/index-install.php +++ b/index-install.php @@ -376,7 +376,7 @@ function step3() { $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', '" . serialize( array( 'admin' ) ) . "' )" ); - $wpdb->query( "INSERT INTO ".$wpdb->sitemeta." (meta_id, site_id, meta_key, meta_value) VALUES (NULL, 1, 'allowedthemes', '" . serialize( array( 'classic', 'default' ) ) . "' )" ); + $wpdb->query( "INSERT INTO ".$wpdb->sitemeta." (meta_id, site_id, meta_key, meta_value) VALUES (NULL, 1, 'allowedthemes', '" . serialize( array( 'classic' => 1, 'default' => 1 ) ) . "' )" ); $wpdb->query( "INSERT INTO ".$wpdb->sitemeta." (meta_id, site_id, meta_key, meta_value) VALUES (NULL, 1, 'illegal_names', '" . serialize( array( "www", "web", "root", "admin", "main", "invite", "administrator" ) ) . "' )" ); $wpdb->query( "INSERT INTO ".$wpdb->sitemeta." (meta_id, site_id, meta_key, meta_value) VALUES (NULL, 1, 'welcome_email', 'Dear User, -- cgit