mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-08 03:01:43 +09:00
Update minimal server requirements
This commit is contained in:
parent
d1b0a7595d
commit
d3c0e94b03
5 changed files with 45 additions and 32 deletions
|
|
@ -67,7 +67,7 @@ class DBMysql extends DB
|
|||
$result = @mysql_connect($connection["db_hostname"], $connection["db_userid"], $connection["db_password"]);
|
||||
if(!$result)
|
||||
{
|
||||
exit('XE cannot connect to DB.');
|
||||
exit('Unable to connect to DB.');
|
||||
}
|
||||
|
||||
if(mysql_error())
|
||||
|
|
@ -76,10 +76,10 @@ class DBMysql extends DB
|
|||
return;
|
||||
}
|
||||
|
||||
// Error appears if the version is lower than 4.1
|
||||
if(version_compare(mysql_get_server_info($result), '4.1', '<'))
|
||||
// Error appears if the version is lower than 4.1.13
|
||||
if(version_compare(mysql_get_server_info($result), '4.1.13', '<'))
|
||||
{
|
||||
$this->setError(-1, 'XE cannot be installed under the version of mysql 4.1. Current mysql version is ' . mysql_get_server_info());
|
||||
$this->setError(-1, 'RhymiX requires MySQL 4.1.13 or later. Current MySQL version is ' . mysql_get_server_info());
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue