diff options
Diffstat (limited to 'system/libraries/Controller.php')
-rw-r--r-- | system/libraries/Controller.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/system/libraries/Controller.php b/system/libraries/Controller.php index 5be10500b..61c8363fa 100644 --- a/system/libraries/Controller.php +++ b/system/libraries/Controller.php @@ -381,10 +381,10 @@ class Controller extends CI_Base { } } - require_once(BASEPATH.'database/drivers/'.$params['dbdriver'].'/'.$params['dbdriver'].EXT); + require_once(BASEPATH.'database/drivers/'.$params['dbdriver'].'/'.$params['dbdriver'].'_driver'.EXT); // Instantiate the DB adapter - $driver = 'CI_DB_'. $params['dbdriver']; + $driver = 'CI_DB_'. $params['dbdriver'].'_driver'; $DB = new $driver($params); if ($return === TRUE) |