DB 포트번호 변경 가능하게 수정함

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@4883 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
clench 2008-11-18 07:42:32 +00:00
parent 15ab50d65f
commit 4d48a462d8

View file

@ -70,13 +70,13 @@
**/
function _connect() {
// db 정보가 없으면 무시
if(!$this->hostname || !$this->userid || !$this->password || !$this->database) return;
if(!$this->hostname || !$this->port || !$this->userid || !$this->password || !$this->database) return;
//if(strpos($this->hostname, ':')===false && $this->port) $this->hostname .= ':'.$this->port;
// 접속시도
$host = $this->hostname.":".$this->database;
$host = $this->hostname."/".$this->port.":".$this->database;
$this->fd = @ibase_connect($host, $this->userid, $this->password);
if(ibase_errmsg()) {