Skip to content

Commit

Permalink
Dev Fixed a message during installation
Browse files Browse the repository at this point in the history
  • Loading branch information
c-schmitz committed Sep 26, 2013
1 parent bf9aeb8 commit 81d4c79
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions application/controllers/InstallerController.php
Original file line number Diff line number Diff line change
Expand Up @@ -309,15 +309,15 @@ private function stepDatabaseConfiguration()
// If database is up to date, redirect to administration screen.
if ($bDBExists && !$bTablesDoNotExist)
{
Yii::app()->session['optconfig_message'] = sprintf('<b>%s</b>', $clang->gT('The database you specified is up to date.'));
Yii::app()->session['optconfig_message'] = sprintf('<b>%s</b>', $clang->gT('The database you specified does already exist.'));
Yii::app()->session['step3'] = true;

//wrte config file! as we no longer redirect to optional view
$this->_writeConfigFile();

//$this->redirect(array("installer/loadOptView"));
header("refresh:5;url=".$this->createUrl("/admin"));
echo sprintf( $clang->gT('The database you specified is up to date. You\'ll be redirected in 5 seconds. If not, click <a href="%s">here</a>.', 'unescaped'), $this->createUrl("/admin"));
echo sprintf( $clang->gT('The database does exists and contains LimeSurvey tables. You\'ll be redirected to the database update or (if your database is already up to date) to the administration login in 5 seconds. If not, please click <a href="%s">here</a>.', 'unescaped'), $this->createUrl("/admin"));
exit();
}

Expand Down

0 comments on commit 81d4c79

Please sign in to comment.