mirror of
https://github.com/silverstripe/silverstripe-installer
synced 2024-10-22 17:05:33 +02:00
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:
parent
eeeed9890e
commit
32a8c26164
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user