/** * Is this step allowed. * * @return bool */ public static function isAllowed() { return InstallerStep3::isAllowed() && isset($_SESSION['default_language']) && isset($_SESSION['default_interface_language']) && isset($_SESSION['multiple_languages']) && isset($_SESSION['languages']) && isset($_SESSION['interface_languages']); }
/** * Validates the previous steps */ private function validateForm() { return InstallerStep2::isAllowed() && InstallerStep3::isAllowed() && InstallerStep4::isAllowed() && InstallerStep5::isAllowed(); }