mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-04 01:01:41 +09:00
Change minimum MySQL version to 5.0.7
This commit is contained in:
parent
e34f59a66f
commit
1873270a59
1 changed files with 3 additions and 3 deletions
|
|
@ -77,10 +77,10 @@ class DBMysql extends DB
|
|||
return;
|
||||
}
|
||||
|
||||
// Error appears if the version is lower than 4.1.13
|
||||
if(version_compare(mysql_get_server_info($result), '4.1.13', '<'))
|
||||
// Error appears if the version is lower than 5.0.7
|
||||
if(version_compare(mysql_get_server_info($result), '5.0.7', '<'))
|
||||
{
|
||||
$this->setError(-1, 'Rhymix requires MySQL 4.1.13 or later. Current MySQL version is ' . mysql_get_server_info());
|
||||
$this->setError(-1, 'Rhymix requires MySQL 5.0.7 or later. Current MySQL version is ' . mysql_get_server_info());
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue