git-svn-id: http://xe-core.googlecode.com/svn/trunk@973 201d5d3c-b55e-5fd7-737f-ddc643e51545

This commit is contained in:
zero 2007-04-05 05:03:35 +00:00
parent f2ec01a1c6
commit 1640c71a30

View file

@ -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++) {