mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-06 18:21:39 +09:00
Remove DB version check
PHP 7.0 이상 호스팅에서 MySQL 5.0 미만을 사용하는 사례는 사실상 전무하므로 불필요한 문제를 일으키는 DB 버전 체크 과정을 제거함. cf. rhymix/rhymix-docs#3
This commit is contained in:
parent
cf0bd0140b
commit
7c7727f8d1
1 changed files with 0 additions and 8 deletions
|
|
@ -77,14 +77,6 @@ class DBMySQL extends DB
|
|||
exit;
|
||||
}
|
||||
|
||||
// Check DB version
|
||||
$this->db_version = $mysqli->server_info;
|
||||
if (version_compare($this->db_version, '5.0.7', '<'))
|
||||
{
|
||||
Rhymix\Framework\Debug::displayError('Rhymix requires MySQL 5.0.7 or later. Current MySQL version is ' . $this->db_version);
|
||||
exit;
|
||||
}
|
||||
|
||||
// Set DB charset
|
||||
$this->charset = isset($connection['charset']) ? $connection['charset'] : 'utf8';
|
||||
$mysqli->set_charset($this->charset);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue