From b5e947d6020bb1cecf429992e07b99763b3eca7e Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tim=20D=C3=BCsterhus?= Date: Tue, 31 May 2022 15:41:28 +0200 Subject: [PATCH] Adjust PHP versions in environment check for 5.4 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 2f78bf2c5c..c6edbdfcd3 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 !(70000 <= PHP_VERSION_ID && PHP_VERSION_ID <= 70499)} +{if !(70200 <= PHP_VERSION_ID && PHP_VERSION_ID <= 80099)}
{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 d4d5dc7066..8691a00126 100644 --- a/wcfsetup/install/files/acp/templates/packageList.tpl +++ b/wcfsetup/install/files/acp/templates/packageList.tpl @@ -58,7 +58,7 @@ {/hascontent} -{if !(70000 <= PHP_VERSION_ID && PHP_VERSION_ID <= 70499)} +{if !(70200 <= PHP_VERSION_ID && PHP_VERSION_ID <= 80099)}
{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 869374d574..2fd82b5e94 100644 --- a/wcfsetup/install/files/lib/system/request/RequestHandler.class.php +++ b/wcfsetup/install/files/lib/system/request/RequestHandler.class.php @@ -132,7 +132,7 @@ class RequestHandler extends SingletonFactory return; } - if (!(70000 <= PHP_VERSION_ID && PHP_VERSION_ID <= 70499)) { + if (!(70200 <= PHP_VERSION_ID && PHP_VERSION_ID <= 80099)) { \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 aac669b06c..07d609c8ac 100644 --- a/wcfsetup/install/lang/de.xml +++ b/wcfsetup/install/lang/de.xml @@ -4006,7 +4006,7 @@ Dateianhänge: - + diff --git a/wcfsetup/install/lang/en.xml b/wcfsetup/install/lang/en.xml index 75ef25f102..4245ea94bc 100644 --- a/wcfsetup/install/lang/en.xml +++ b/wcfsetup/install/lang/en.xml @@ -3953,7 +3953,7 @@ Attachments: - + -- 2.20.1