1
0
mirror of https://github.com/dg/dibi.git synced 2025-08-17 03:24:21 +02:00

- DibiPostgreDriver: added support for "schema"

- DibiTable::fetch($conditions) (experimental)
- DibiConnection no longer invokes autoloading
This commit is contained in:
David Grudl
2008-02-14 02:02:27 +00:00
parent 8da9e778a6
commit 2f9704bca2
4 changed files with 18 additions and 7 deletions

View File

@@ -74,10 +74,10 @@ class DibiConnection extends NObject
$driver = preg_replace('#[^a-z0-9_]#', '_', $config['driver']);
$class = "Dibi" . $driver . "Driver";
if (!class_exists($class)) {
if (!class_exists($class, FALSE)) {
include_once __FILE__ . "/../../drivers/$driver.php";
if (!class_exists($class)) {
if (!class_exists($class, FALSE)) {
throw new DibiException("Unable to create instance of dibi driver class '$class'.");
}
}