mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 02:31:40 +09:00
DB 포트번호 변경 가능하게 수정함
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@4883 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
15ab50d65f
commit
4d48a462d8
1 changed files with 2 additions and 2 deletions
|
|
@ -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()) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue