From 50c6089c2c15d21a72b6442f264d7c2a7c5191e7 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tim=20D=C3=BCsterhus?= Date: Tue, 31 May 2022 15:44:54 +0200 Subject: [PATCH] Adjust PHP versions in environment check for 5.6 see 598b72301a2cdcd0f3a0c1196f6fc1107e01650e --- wcfsetup/install/files/acp/templates/index.tpl | 2 +- wcfsetup/install/files/acp/templates/packageList.tpl | 2 +- .../install/files/lib/system/request/RequestHandler.class.php | 2 +- wcfsetup/install/lang/de.xml | 2 +- wcfsetup/install/lang/en.xml | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/wcfsetup/install/files/acp/templates/index.tpl b/wcfsetup/install/files/acp/templates/index.tpl index 5a54899e7c..2c5f505009 100644 --- a/wcfsetup/install/files/acp/templates/index.tpl +++ b/wcfsetup/install/files/acp/templates/index.tpl @@ -4,7 +4,7 @@

{lang}wcf.global.acp{/lang}

-{if !(70200 <= PHP_VERSION_ID && PHP_VERSION_ID <= 80199)} +{if !(80100 <= PHP_VERSION_ID && PHP_VERSION_ID <= 80199)}
{lang}wcf.global.incompatiblePhpVersion{/lang}
{/if} {foreach from=$evaluationExpired item=$expiredApp} diff --git a/wcfsetup/install/files/acp/templates/packageList.tpl b/wcfsetup/install/files/acp/templates/packageList.tpl index 9111a47d8b..73b33bdcba 100644 --- a/wcfsetup/install/files/acp/templates/packageList.tpl +++ b/wcfsetup/install/files/acp/templates/packageList.tpl @@ -50,7 +50,7 @@ {/hascontent} -{if !(70200 <= PHP_VERSION_ID && PHP_VERSION_ID <= 80199)} +{if !(80100 <= PHP_VERSION_ID && PHP_VERSION_ID <= 80199)}
{lang}wcf.global.incompatiblePhpVersion{/lang}
{/if} {foreach from=$taintedApplications item=$taintedApplication} diff --git a/wcfsetup/install/files/lib/system/request/RequestHandler.class.php b/wcfsetup/install/files/lib/system/request/RequestHandler.class.php index 56308bce62..3102220cde 100644 --- a/wcfsetup/install/files/lib/system/request/RequestHandler.class.php +++ b/wcfsetup/install/files/lib/system/request/RequestHandler.class.php @@ -111,7 +111,7 @@ final class RequestHandler extends SingletonFactory return; } - if (!(70200 <= PHP_VERSION_ID && PHP_VERSION_ID <= 80199)) { + if (!(80100 <= PHP_VERSION_ID && PHP_VERSION_ID <= 80199)) { \header('HTTP/1.1 500 Internal Server Error'); throw new NamedUserException(WCF::getLanguage()->get('wcf.global.incompatiblePhpVersion')); diff --git a/wcfsetup/install/lang/de.xml b/wcfsetup/install/lang/de.xml index 62027fff9e..205c70a956 100644 --- a/wcfsetup/install/lang/de.xml +++ b/wcfsetup/install/lang/de.xml @@ -3996,7 +3996,7 @@ Dateianhänge: - + diff --git a/wcfsetup/install/lang/en.xml b/wcfsetup/install/lang/en.xml index 545b32dd47..e13d823ca3 100644 --- a/wcfsetup/install/lang/en.xml +++ b/wcfsetup/install/lang/en.xml @@ -3944,7 +3944,7 @@ Attachments: - + -- 2.20.1