]> granicus.if.org Git - php/commitdiff
make sure to include subclasses before trying to instantiate them.
authorChuck Hagenbuch <chagenbu@php.net>
Fri, 2 Feb 2001 05:24:31 +0000 (05:24 +0000)
committerChuck Hagenbuch <chagenbu@php.net>
Fri, 2 Feb 2001 05:24:31 +0000 (05:24 +0000)
pear/DB.php

index bf35adbd874cdd56dffbf1554293d8fc67b830b4..a714950a7b210cf4ed69fe5f831f7b854bccd36d 100644 (file)
@@ -208,7 +208,8 @@ class DB
             $dsninfo = DB::parseDSN($dsn);
         }
         $type = $dsninfo["phptype"];
-
+       
+       @include_once "DB/${type}.php";
         $classname = "DB_${type}";
         @$obj =& new $classname;