diff options
author | admin <devnull@localhost> | 2006-09-24 20:14:22 +0200 |
---|---|---|
committer | admin <devnull@localhost> | 2006-09-24 20:14:22 +0200 |
commit | 46563d570944d6c5af8b4f46ba1eeca111eabaa4 (patch) | |
tree | 6c58429cb23043788c9137dde1f00a913bcf65cc /system/libraries | |
parent | 46537628a0b319387367fc661478740a7393be8d (diff) |
Diffstat (limited to 'system/libraries')
-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) |