mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-07-13 03:27:39 +03:00
PHP 7.4 required #623
This commit is contained in:
parent
245aaa92a2
commit
7d3cbcd333
2 changed files with 3 additions and 3 deletions
|
|
@ -46,7 +46,7 @@ This fork of RainLoop has the following changes:
|
||||||
* Auth failed attempts written to syslog
|
* Auth failed attempts written to syslog
|
||||||
* Added Fail2ban instructions
|
* Added Fail2ban instructions
|
||||||
* ES2018
|
* ES2018
|
||||||
* PHP 7.3+ required
|
* PHP 7.4+ required
|
||||||
* PHP mbstring extension required
|
* PHP mbstring extension required
|
||||||
* PHP replaced pclZip with PharData and ZipArchive
|
* PHP replaced pclZip with PharData and ZipArchive
|
||||||
* Dark mode
|
* Dark mode
|
||||||
|
|
|
||||||
|
|
@ -2,10 +2,10 @@
|
||||||
|
|
||||||
if (defined('APP_VERSION'))
|
if (defined('APP_VERSION'))
|
||||||
{
|
{
|
||||||
if (PHP_VERSION_ID < 70300)
|
if (PHP_VERSION_ID < 70400)
|
||||||
{
|
{
|
||||||
echo '<p style="color: red">';
|
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>';
|
echo '</p>';
|
||||||
exit(301);
|
exit(301);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue