$system['cookie']['result'] = !empty($_COOKIE['wcfsetup_cookietest']) && $_COOKIE['wcfsetup_cookietest'] == TMP_FILE_PREFIX;
- $system['tls']['result'] = RouteHandler::secureConnection() || $system['hostname']['value'] == 'localhost';
+ $system['tls']['result'] = RouteHandler::secureContext();
foreach ($system as $result) {
if (!$result['result']) {
</dl>
</div>
</section>
- </section>
-
- <section class="section">
- <h2 class="sectionTitle">{lang}wcf.global.systemRequirements.recommended{/lang}</h2>
-
+
<section class="section">
<h2 class="sectionTitle">{lang}wcf.global.systemRequirements.tls{/lang}</h2>
<div class="row rowColGap formGrid">
<dl class="col-xs-12 col-md-6">
- <dt>{lang}wcf.global.systemRequirements.element.recommended{/lang}</dt>
+ <dt>{lang}wcf.global.systemRequirements.element.required{/lang}</dt>
<dd>{lang}wcf.global.systemRequirements.active{/lang}</dd>
</dl>
</dl>
</div>
</section>
+ </section>
+
+ <section class="section">
+ <h2 class="sectionTitle">{lang}wcf.global.systemRequirements.recommended{/lang}</h2>
<section class="section">
<h2 class="sectionTitle">{lang}wcf.global.systemRequirements.uploadMaxFilesize{/lang}</h2>
</section>
<div class="formSubmit">
- <input type="submit" value="{lang}wcf.global.button.next{/lang}"{if !$system.phpVersion.result || !$system.x64.result || !$system.sql.result || !$system.memoryLimit.result || !$system.graphicsLibrary.result || !$system.hostname.result || !$system.cookie.result} disabled{/if} accesskey="s">
+ <input type="submit" value="{lang}wcf.global.button.next{/lang}"{if !$system.phpVersion.result || !$system.x64.result || !$system.sql.result || !$system.memoryLimit.result || !$system.graphicsLibrary.result || !$system.hostname.result || !$system.cookie.result || !$system.tls.result} disabled{/if} accesskey="s">
<input type="hidden" name="step" value="{$nextStep}">
<input type="hidden" name="tmpFilePrefix" value="{$tmpFilePrefix}">
<input type="hidden" name="languageCode" value="{$languageCode}">