[*] Installer : Automatically drop the system compatibility check when everything's alright

// Fixed 'next' button when the page is refreshed
This commit is contained in:
Damien Metzger
2013-02-01 17:20:40 +01:00
parent 3b2be13f2e
commit 7b6b9ceaf6
2 changed files with 9 additions and 1 deletions
+4 -1
View File
@@ -274,7 +274,10 @@ abstract class InstallControllerHttp
*/
public function findNextStep()
{
return (isset(self::$steps[$this->getStepOffset($this->step) + 1])) ? self::$steps[$this->getStepOffset($this->step) + 1] : false;
$nextStep = (isset(self::$steps[$this->getStepOffset($this->step) + 1])) ? self::$steps[$this->getStepOffset($this->step) + 1] : false;
if ($nextStep == 'system' && self::$instances[$nextStep]->validate())
$nextStep = self::$instances[$nextStep]->findNextStep();
return $nextStep;
}
/**