mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-10 04:24:14 +09:00
#18427758 DB 접속후 password 암호화
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@6917 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
89a1f94898
commit
c59adbb7d3
9 changed files with 9 additions and 1 deletions
|
|
@ -87,6 +87,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
$this->is_connected = true;
|
$this->is_connected = true;
|
||||||
|
$this->password = md5($this->password);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
|
|
@ -112,6 +112,7 @@
|
||||||
|
|
||||||
// 접속체크
|
// 접속체크
|
||||||
$this->is_connected = true;
|
$this->is_connected = true;
|
||||||
|
$this->password = md5($this->password);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
|
|
@ -83,6 +83,7 @@
|
||||||
// 접속체크
|
// 접속체크
|
||||||
if($this->conn){
|
if($this->conn){
|
||||||
$this->is_connected = true;
|
$this->is_connected = true;
|
||||||
|
$this->password = md5($this->password);
|
||||||
}else{
|
}else{
|
||||||
$this->is_connected = false;
|
$this->is_connected = false;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -97,6 +97,7 @@
|
||||||
|
|
||||||
// 접속체크
|
// 접속체크
|
||||||
$this->is_connected = true;
|
$this->is_connected = true;
|
||||||
|
$this->password = md5($this->password);
|
||||||
|
|
||||||
// mysql의 경우 utf8임을 지정
|
// mysql의 경우 utf8임을 지정
|
||||||
$this->_query("set names 'utf8'");
|
$this->_query("set names 'utf8'");
|
||||||
|
|
|
||||||
|
|
@ -97,6 +97,7 @@
|
||||||
|
|
||||||
// 접속체크
|
// 접속체크
|
||||||
$this->is_connected = true;
|
$this->is_connected = true;
|
||||||
|
$this->password = md5($this->password);
|
||||||
|
|
||||||
// mysql의 경우 utf8임을 지정
|
// mysql의 경우 utf8임을 지정
|
||||||
$this->_query("set names 'utf8'");
|
$this->_query("set names 'utf8'");
|
||||||
|
|
|
||||||
|
|
@ -88,6 +88,7 @@
|
||||||
|
|
||||||
// 접속체크
|
// 접속체크
|
||||||
$this->is_connected = true;
|
$this->is_connected = true;
|
||||||
|
$this->password = md5($this->password);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
|
|
@ -104,7 +104,7 @@ class DBPostgresql extends DB
|
||||||
|
|
||||||
// 접속체크
|
// 접속체크
|
||||||
$this->is_connected = true;
|
$this->is_connected = true;
|
||||||
|
$this->password = md5($this->password);
|
||||||
// utf8임을 지정
|
// utf8임을 지정
|
||||||
//$this ->_query('set client_encoding to uhc');
|
//$this ->_query('set client_encoding to uhc');
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -76,6 +76,7 @@
|
||||||
|
|
||||||
// 접속체크
|
// 접속체크
|
||||||
$this->is_connected = true;
|
$this->is_connected = true;
|
||||||
|
$this->password = md5($this->password);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
|
|
@ -84,6 +84,7 @@
|
||||||
|
|
||||||
// 접속체크
|
// 접속체크
|
||||||
$this->is_connected = true;
|
$this->is_connected = true;
|
||||||
|
$this->password = md5($this->password);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue