From: Tim Düsterhus Date: Tue, 31 May 2022 13:41:28 +0000 (+0200) Subject: Adjust PHP versions in environment check for 5.4 X-Git-Tag: 5.5.0_Beta_4~2^2 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=b5e947d6020bb1cecf429992e07b99763b3eca7e;p=GitHub%2FWoltLab%2FWCF.git Adjust PHP versions in environment check for 5.4 see 598b72301a2cdcd0f3a0c1196f6fc1107e01650e --- 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: - +