mirror of
https://github.com/dg/dibi.git
synced 2025-08-17 03:24:21 +02:00
This commit is contained in:
@@ -147,10 +147,12 @@ class dibi
|
||||
|
||||
// include dibi driver
|
||||
$className = "Dibi$config[driver]Driver";
|
||||
require_once dirname(__FILE__) . "/drivers/$config[driver].php";
|
||||
if (!class_exists($className)) {
|
||||
include_once dirname(__FILE__) . "/drivers/$config[driver].php";
|
||||
|
||||
if (!class_exists($className))
|
||||
return new DibiException("Unable to create instance of dibi driver class '$className'.");
|
||||
if (!class_exists($className))
|
||||
return new DibiException("Unable to create instance of dibi driver class '$className'.");
|
||||
}
|
||||
|
||||
|
||||
// create connection object
|
||||
|
Reference in New Issue
Block a user