mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-09 03:52:15 +09:00
Minimum version is actually PHP 7.2.5 because of dependencies
This commit is contained in:
parent
a667228f29
commit
735d3dd97c
2 changed files with 3 additions and 3 deletions
|
|
@ -11,10 +11,10 @@ if (defined('RX_VERSION'))
|
||||||
/**
|
/**
|
||||||
* Check PHP version.
|
* Check PHP version.
|
||||||
*/
|
*/
|
||||||
if (version_compare(PHP_VERSION, '7.2', '<'))
|
if (version_compare(PHP_VERSION, '7.2.5', '<'))
|
||||||
{
|
{
|
||||||
header('HTTP/1.1 500 Internal Server Error');
|
header('HTTP/1.1 500 Internal Server Error');
|
||||||
echo 'Rhymix requires PHP 7.2 or higher.';
|
echo 'Rhymix requires PHP 7.2.5 or higher.';
|
||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -134,7 +134,7 @@ define('__XE_VERSION_ALPHA__', false);
|
||||||
define('__XE_VERSION_BETA__', false);
|
define('__XE_VERSION_BETA__', false);
|
||||||
define('__XE_VERSION_RC__', false);
|
define('__XE_VERSION_RC__', false);
|
||||||
define('__XE_VERSION_STABLE__', true);
|
define('__XE_VERSION_STABLE__', true);
|
||||||
define('__XE_MIN_PHP_VERSION__', '7.2.0');
|
define('__XE_MIN_PHP_VERSION__', '7.2.5');
|
||||||
define('__XE_RECOMMEND_PHP_VERSION__', '7.4.0');
|
define('__XE_RECOMMEND_PHP_VERSION__', '7.4.0');
|
||||||
define('__ZBXE__', true);
|
define('__ZBXE__', true);
|
||||||
define('__ZBXE_VERSION__', RX_VERSION);
|
define('__ZBXE_VERSION__', RX_VERSION);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue