mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-06 10:11:38 +09:00
php5 이전버전일때 pdo관련 DB를 사용하지 않도록 한 코드의 잘못된 비교부분 수정
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@3620 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
50ecfaf9a1
commit
0865bddced
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue