mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-30 16:49:58 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/trunk@973 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
f2ec01a1c6
commit
1640c71a30
1 changed files with 4 additions and 6 deletions
|
|
@ -63,12 +63,10 @@
|
||||||
* @brief 지원 가능한 DB 목록을 return
|
* @brief 지원 가능한 DB 목록을 return
|
||||||
**/
|
**/
|
||||||
function _getSupportedList() {
|
function _getSupportedList() {
|
||||||
// ./classes/db 에서 DB.class.php를 제외한 목록을 구함
|
$db_classes_path = "./classes/db/";
|
||||||
if(!count($this->supported_list)) {
|
$filter = "/^DB([^\.]+)\.class\.php/i";
|
||||||
$db_classes_path = "./classes/db/";
|
$supported_list = FileHandler::readDir($db_classes_path, $filter, true);
|
||||||
$filter = "/^DB([^\.]+)\.class\.php/i";
|
sort($supported_list);
|
||||||
$supported_list = FileHandler::readDir($db_classes_path, $filter, true);
|
|
||||||
}
|
|
||||||
|
|
||||||
// 구해진 클래스의 객체 생성후 isSupported method를 통해 지원 여부를 판단
|
// 구해진 클래스의 객체 생성후 isSupported method를 통해 지원 여부를 판단
|
||||||
for($i=0;$i<count($supported_list);$i++) {
|
for($i=0;$i<count($supported_list);$i++) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue