From c2ae090f6bf0a0eefd5eaf9796095a4ddd18c23a Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tim=20D=C3=BCsterhus?= Date: Tue, 31 May 2022 15:42:50 +0200 Subject: [PATCH] Adjust PHP versions in environment check for 5.5 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 20311ecbe7..cc2e77490c 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 <= 80099)} +{if !(70200 <= 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 45d03f8941..9111a47d8b 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 <= 80099)} +{if !(70200 <= 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 5547d31c26..d4a535f636 100644 --- a/wcfsetup/install/files/lib/system/request/RequestHandler.class.php +++ b/wcfsetup/install/files/lib/system/request/RequestHandler.class.php @@ -122,7 +122,7 @@ class RequestHandler extends SingletonFactory return; } - if (!(70200 <= PHP_VERSION_ID && PHP_VERSION_ID <= 80099)) { + if (!(70200 <= 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 e3c64e1714..f3be3e8790 100644 --- a/wcfsetup/install/lang/de.xml +++ b/wcfsetup/install/lang/de.xml @@ -4005,7 +4005,7 @@ Dateianhänge: - + diff --git a/wcfsetup/install/lang/en.xml b/wcfsetup/install/lang/en.xml index 1157b2817a..eca29fb46b 100644 --- a/wcfsetup/install/lang/en.xml +++ b/wcfsetup/install/lang/en.xml @@ -3953,7 +3953,7 @@ Attachments: - + -- 2.20.1