From 7740e89de3e1bc0cc636120e3ca8ab9e97e4d3cc Mon Sep 17 00:00:00 2001 From: donncha Date: Fri, 4 Apr 2008 16:44:15 +0000 Subject: Merged with WordPress 2.5, unstable, only for testing git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@1218 7be80a69-a1ef-0310-a953-fb0f7c49ff36 --- index-install.php | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) (limited to 'index-install.php') diff --git a/index-install.php b/index-install.php index 5d85b18..81e520e 100644 --- a/index-install.php +++ b/index-install.php @@ -337,6 +337,10 @@ function step2() { case '$base = \'BASE\';': fwrite($handle, str_replace('BASE', $base, $line)); break; + case "define('SECRET_K": + case "define('SECRET_S": + fwrite($handle, str_replace('put your unique phrase here', md5( mt_rand() ) . md5( mt_rand() ), $line)); + break; default: fwrite($handle, $line); break; @@ -481,18 +485,6 @@ switch($action) { do_htaccess( 'htaccess.dist', '.htaccess', $base, ''); step3(); break; - case "step3": - // call createBlog(); - // create .htaccess - // print login info and links. - require_once('./wp-config.php'); - require_once('./wp-admin/upgrade-functions.php'); - make_db_current_silent(); - populate_options(); - do_htaccess( 'htaccess.dist', '.htaccess', $base, ''); - printheader(); - step3(); - break; default: // check that directories are writeable. // create wpmu-settings.php -- cgit