설치시에 XE가 지원하는 모든 DB를 보여주도록 수정

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@5819 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
zero 2009-03-10 01:20:57 +00:00
parent 8dfa3688e6
commit 3c0d58c94a
2 changed files with 9 additions and 5 deletions

View file

@ -105,9 +105,13 @@
$eval_str = sprintf('$oDB = new %s();', $class_name);
eval($eval_str);
if(!$oDB || !$oDB->isSupported()) continue;
if(!$oDB) continue;
$this->supported_list[] = $db_type;
$obj = null;
$obj->db_type = $db_type;
$obj->enable = $oDB->isSupported()?true:false;
$this->supported_list[] = $obj;
}
return $this->supported_list;