mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-27 14:22:54 +09:00
Change minimum PHP version to 5.5.9
This commit is contained in:
parent
501461d010
commit
e34f59a66f
4 changed files with 21 additions and 18 deletions
|
|
@ -364,15 +364,14 @@ class installController extends install
|
|||
$checklist = array();
|
||||
|
||||
// Check PHP version
|
||||
$checklist['php_version'] = true;
|
||||
if(version_compare(PHP_VERSION, __XE_MIN_PHP_VERSION__, '<'))
|
||||
if(version_compare(PHP_VERSION, __XE_MIN_PHP_VERSION__, '>='))
|
||||
{
|
||||
$checklist['php_version'] = true;
|
||||
}
|
||||
else
|
||||
{
|
||||
$checklist['php_version'] = false;
|
||||
}
|
||||
if(version_compare(PHP_VERSION, __XE_RECOMMEND_PHP_VERSION__, '<'))
|
||||
{
|
||||
Context::set('phpversion_warning', true);
|
||||
}
|
||||
|
||||
// Check DB
|
||||
if(DB::getEnableList())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue