Fixed admin credentials setting from 'make install' and 'make test'

Added the contents of assets/ to svn:ignore

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@48168 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
sminnee 2008-01-17 05:31:14 +00:00
parent eeeed9890e
commit 32a8c26164

View File

@ -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 "<li>Checking mod_rewrite works</li>";
$_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) {