php5 이전버전일때 pdo관련 DB를 사용하지 않도록 한 코드의 잘못된 비교부분 수정

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@3620 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
zero 2008-01-30 00:54:08 +00:00
parent 50ecfaf9a1
commit 0865bddced

View file

@ -83,7 +83,7 @@
for($i=0;$i<count($supported_list);$i++) {
$db_type = $supported_list[$i];
if(version_compare(phpversion(), '5.0') < 0 && preg_match('/pdo/i',$db_type) !== false) continue;
if(version_compare(phpversion(), '5.0') < 0 && preg_match('/pdo/i',$db_type)) continue;
$class_name = sprintf("DB%s%s", strtoupper(substr($db_type,0,1)), strtolower(substr($db_type,1)));
$class_file = sprintf("./classes/db/%s.class.php", $class_name);