#18446411 fixed mysqli 로 인스톨시 에러

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@6962 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
ngleader 2009-11-24 05:49:05 +00:00
parent be661b7b53
commit d345d77d85
11 changed files with 65 additions and 6 deletions

View file

@ -75,13 +75,13 @@
// 접속시도
if($this->port){
$this->fd = mysqli_connect($this->hostname, $this->userid, $this->password, $this->database, $this->port);
$this->fd = @mysqli_connect($this->hostname, $this->userid, $this->password, $this->database, $this->port);
}else{
$this->fd = mysqli_connect($this->hostname, $this->userid, $this->password, $this->database);
$this->fd = @mysqli_connect($this->hostname, $this->userid, $this->password, $this->database);
}
$error = mysqli_connect_errno();
if($error) {
$this->setError($error);
$this->setError($error,mysqli_connect_error());
return;
}
mysqli_set_charset($this->fd,'utf8');