PHP 7.4 required #623

This commit is contained in:
the-djmaze 2022-11-04 12:02:11 +01:00
parent 245aaa92a2
commit 7d3cbcd333
2 changed files with 3 additions and 3 deletions

View file

@ -46,7 +46,7 @@ This fork of RainLoop has the following changes:
* Auth failed attempts written to syslog
* Added Fail2ban instructions
* ES2018
* PHP 7.3+ required
* PHP 7.4+ required
* PHP mbstring extension required
* PHP replaced pclZip with PharData and ZipArchive
* Dark mode

View file

@ -2,10 +2,10 @@
if (defined('APP_VERSION'))
{
if (PHP_VERSION_ID < 70300)
if (PHP_VERSION_ID < 70400)
{
echo '<p style="color: red">';
echo '[301] Your PHP version ('.PHP_VERSION.') is lower than the minimal required 7.3.0!';
echo '[301] Your PHP version ('.PHP_VERSION.') is lower than the minimal required 7.4.0!';
echo '</p>';
exit(301);
}