diff --git a/install.php b/install.php index 35a861e..bfdb9ec 100644 --- a/install.php +++ b/install.php @@ -690,8 +690,8 @@ PHP $dbAdmin = new DatabaseAdmin(); $dbAdmin->init(); - $_REQUEST['username'] = $_REQUEST['admin']['username']; - $_REQUEST['password'] = $_REQUEST['admin']['password']; + $_REQUEST['username'] = $config['admin']['username']; + $_REQUEST['password'] = $config['admin']['password']; $dbAdmin->doBuild(true); $adminmember = DataObject::get_one('Member',"`Email`= '".$_REQUEST['admin']['username']."'"); @@ -704,8 +704,8 @@ PHP echo "
  • Checking mod_rewrite works
  • "; - $_SESSION['username'] = $_REQUEST['admin']['username']; - $_SESSION['password'] = $_REQUEST['admin']['password']; + $_SESSION['username'] = $config['admin']['username']; + $_SESSION['password'] = $config['admin']['password']; if($this->checkModRewrite()) { if($this->errors) {