mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-09 03:32:00 +09:00
#19623705 DB 클래스 정리
1. DB 드라이버 생성방식 수정 2. $class_name, $class_file 이름 문자열 생성하는 부분 수정 git-svn-id: http://xe-core.googlecode.com/svn/sandbox@8184 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
2c25d64fb5
commit
59bf3cbb83
10 changed files with 90 additions and 6 deletions
|
|
@ -50,6 +50,14 @@ class DBPostgresql extends DB
|
|||
$this->_setDBInfo();
|
||||
$this->_connect();
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief create an instance of this class
|
||||
*/
|
||||
function create()
|
||||
{
|
||||
return new DBPostgresql;
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief 설치 가능 여부를 return
|
||||
|
|
@ -927,4 +935,6 @@ class DBPostgresql extends DB
|
|||
return $buff;
|
||||
}
|
||||
}
|
||||
|
||||
return new DBPostgresql;
|
||||
?>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue