summaryrefslogtreecommitdiffstats
path: root/index.php
diff options
context:
space:
mode:
authordonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2006-06-08 11:44:54 +0000
committerdonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2006-06-08 11:44:54 +0000
commitd9e8bf841697695aa365542c2b55bcddae25398a (patch)
treee0eaeb88083ede0f35704add4a68545d6b6d27ad /index.php
parent0e5543d9dc4b5ec7443fc040f20314aef01fd6d2 (diff)
downloadwordpress-mu-d9e8bf841697695aa365542c2b55bcddae25398a.tar.gz
wordpress-mu-d9e8bf841697695aa365542c2b55bcddae25398a.tar.xz
wordpress-mu-d9e8bf841697695aa365542c2b55bcddae25398a.zip
Added "new install" email message
git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@554 7be80a69-a1ef-0310-a953-fb0f7c49ff36
Diffstat (limited to 'index.php')
-rw-r--r--index.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/index.php b/index.php
index c63b4bc..b314a71 100644
--- a/index.php
+++ b/index.php
@@ -383,6 +383,8 @@ We hope you enjoy your new weblog.
wpmu_create_blog( $domain, $base, $weblog_title, $user_id, array() );
update_blog_option( 1, 'template', 'home');
update_blog_option( 1, 'stylesheet', 'home');
+ $msg = "Your new WPMU site has been created at\nhttp://{$_SERVER[ 'HTTP_HOST' ]}/\n\nLogin details:\nUsername: admin\nPassword: $pass\nLogin: http://{$_SERVER[ 'HTTP_HOST' ]}/wp-login.php\n";
+ wp_mail( $email, "Your new WPMU site is ready!", $msg, "From: wordpress@" . $_SERVER[ 'HTTP_HOST' ] );
print "<p>Congrats! Your blog has been set up and you have been sent details of your login and password in an email.</p>";
}