From d9e8bf841697695aa365542c2b55bcddae25398a Mon Sep 17 00:00:00 2001 From: donncha Date: Thu, 8 Jun 2006 11:44:54 +0000 Subject: Added "new install" email message git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@554 7be80a69-a1ef-0310-a953-fb0f7c49ff36 --- index.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'index.php') 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 "

Congrats! Your blog has been set up and you have been sent details of your login and password in an email.

"; } -- cgit