mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-18 10:49:54 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/trunk@1845 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
c4378634e2
commit
3aa0e229b2
7 changed files with 25 additions and 15 deletions
|
|
@ -47,7 +47,6 @@
|
|||
* @brief 설치 가능 여부를 return
|
||||
**/
|
||||
function isSupported() {
|
||||
//if(!function_exists('mysql_connect') || mysql_get_client_info() < "4.1.00") return false;
|
||||
if(!function_exists('mysql_connect')) return false;
|
||||
return true;
|
||||
}
|
||||
|
|
@ -79,6 +78,12 @@
|
|||
return;
|
||||
}
|
||||
|
||||
// 버전 확인후 4.1 이하면 오류 표시
|
||||
if(mysql_get_server_info($this->fd)<"4.1") {
|
||||
$this->setError(-1, "zeroboard xe can not install under mysql 4.1. Current mysql version is ".mysql_get_server_info());
|
||||
return;
|
||||
}
|
||||
|
||||
// db 선택
|
||||
@mysql_select_db($this->database, $this->fd);
|
||||
if(mysql_error()) {
|
||||
|
|
|
|||
|
|
@ -47,7 +47,6 @@
|
|||
* @brief 설치 가능 여부를 return
|
||||
**/
|
||||
function isSupported() {
|
||||
//if(!function_exists('mysql_connect') || mysql_get_client_info() < "4.1.00") return false;
|
||||
if(!function_exists('mysql_connect')) return false;
|
||||
return true;
|
||||
}
|
||||
|
|
@ -79,6 +78,12 @@
|
|||
return;
|
||||
}
|
||||
|
||||
// 버전 확인후 4.1 이하면 오류 표시
|
||||
if(mysql_get_server_info($this->fd)<"4.1") {
|
||||
$this->setError(-1, "zeroboard xe can not install under mysql 4.1. Current mysql version is ".mysql_get_server_info());
|
||||
return;
|
||||
}
|
||||
|
||||
// db 선택
|
||||
@mysql_select_db($this->database, $this->fd);
|
||||
if(mysql_error()) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue