diff --git a/system/libraries/Controller.php b/system/libraries/Controller.php
index 5be1050..61c8363 100644
--- a/system/libraries/Controller.php
+++ b/system/libraries/Controller.php
@@ -381,10 +381,10 @@
}
}
- 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)