mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-28 14:52:24 +09:00
#18446411 fixed mysqli 로 인스톨시 에러
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@6962 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
be661b7b53
commit
d345d77d85
11 changed files with 65 additions and 6 deletions
|
|
@ -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');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue