summaryrefslogtreecommitdiffstats
path: root/index-install.php
diff options
context:
space:
mode:
Diffstat (limited to 'index-install.php')
-rw-r--r--index-install.php16
1 files changed, 4 insertions, 12 deletions
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