[*] Installer : installer improvements - Step 1

This commit is contained in:
Damien Metzger
2013-02-21 11:05:47 +01:00
parent eaa45dfb03
commit f4bf4c47a9
13 changed files with 59 additions and 149 deletions
+4 -15
View File
@@ -25,31 +25,20 @@
*/
/**
* Step 1 : display agrement form
* Step 1 : display language form
*/
class InstallControllerHttpWelcome extends InstallControllerHttp
{
/**
* Process welcome form
*
* @see InstallAbstractModel::process()
*/
public function processNextStep()
{
$this->session->licence_agrement = Tools::getValue('licence_agrement');
$this->session->configuration_agrement = Tools::getValue('configuration_agrement');
}
/**
* Licence agrement must be checked to validate this step
*
* @see InstallAbstractModel::validate()
*/
public function validate()
{
return $this->session->licence_agrement;
return true;
}
/**
* Change language
*/