Congratulations for installing ".ITOP_APPLICATION."
");
}
else
{
- $oPage->add("
Congratulations for installing iTop
");
+ $oPage->add("
Congratulations for installing ".ITOP_APPLICATION."
");
$oPage->ok("The installation completed successfully.");
}
- if ($this->oWizard->GetParameter('db_backup', false))
+ if (($this->oWizard->GetParameter('mode', '') == 'upgrade') && $this->oWizard->GetParameter('db_backup', false))
{
$sBackupDestination = $this->oWizard->GetParameter('db_backup_path', '');
if (file_exists($sBackupDestination))
{
- // To mitigate security risks: pass only the filename without the extension, the download will add the extensino itself
+ // To mitigate security risks: pass only the filename without the extension, the download will add the extension itself
$sTruncatedFilePath = preg_replace('/\.zip$/', '', $sBackupDestination);
$oPage->p('Your backup is ready');
- $oPage->p(' Download '.basename($sBackupDestination).'');
+ $oPage->p(' Download '.basename($sBackupDestination).'');
}
else
{
@@ -2002,7 +2002,7 @@ class WizStepDone extends WizardStep
$sForm = '';
$oPage->add('');
$sForm = addslashes($sForm);