summaryrefslogtreecommitdiffstats
path: root/system/libraries/Controller.php
diff options
context:
space:
mode:
authoradmin <devnull@localhost>2006-09-24 20:14:22 +0200
committeradmin <devnull@localhost>2006-09-24 20:14:22 +0200
commit46563d570944d6c5af8b4f46ba1eeca111eabaa4 (patch)
tree6c58429cb23043788c9137dde1f00a913bcf65cc /system/libraries/Controller.php
parent46537628a0b319387367fc661478740a7393be8d (diff)
Diffstat (limited to 'system/libraries/Controller.php')
-rw-r--r--system/libraries/Controller.php4
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)