Merge pull request #35024 from nextcloud/deprecate/php74

Deprecate PHP7.4
This commit is contained in:
Simon L 2022-11-14 20:35:54 +01:00 коммит произвёл GitHub
Родитель 6d8774a232 75a1721d7d
Коммит 73c5591f68
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
2 изменённых файлов: 1 добавлений и 7 удалений

Просмотреть файл

@ -330,7 +330,7 @@ class CheckSetupController extends Controller {
* @return bool
*/
protected function isPhpOutdated(): bool {
return PHP_VERSION_ID < 70400;
return PHP_VERSION_ID < 80000;
}
/**

Просмотреть файл

@ -303,12 +303,6 @@
type: OC.SetupChecks.MESSAGE_TYPE_INFO
})
}
if (data.phpSupported && data.phpSupported.version.substr(0, 3) === '7.3') {
messages.push({
msg: t('core', 'Nextcloud 23 is the last release supporting PHP 7.3. Nextcloud 24 requires at least PHP 7.4.'),
type: OC.SetupChecks.MESSAGE_TYPE_INFO
})
}
if(!data.forwardedForHeadersWorking) {
messages.push({
msg: t('core', 'The reverse proxy header configuration is incorrect, or you are accessing Nextcloud from a trusted proxy. If not, this is a security issue and can allow an attacker to spoof their IP address as visible to the Nextcloud. Further information can be found in the {linkstart}documentation ↗{linkend}.')