summaryrefslogtreecommitdiffstats
path: root/system/libraries/Controller.php
diff options
context:
space:
mode:
authoradmin <devnull@localhost>2006-09-24 19:58:27 +0200
committeradmin <devnull@localhost>2006-09-24 19:58:27 +0200
commit5808346898ec9c602893fc54540958a8c556be29 (patch)
tree2262ca12979e40dcd5cec8be5314b391571feb1d /system/libraries/Controller.php
parent9659273ba7de6b73c3f188a174e526e692071f43 (diff)
Diffstat (limited to 'system/libraries/Controller.php')
-rw-r--r--system/libraries/Controller.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/system/libraries/Controller.php b/system/libraries/Controller.php
index 0dd6ee6a4..5be10500b 100644
--- a/system/libraries/Controller.php
+++ b/system/libraries/Controller.php
@@ -362,11 +362,11 @@ class Controller extends CI_Base {
$params['active_r'] = TRUE;
}
- require_once(BASEPATH.'drivers/DB_driver'.EXT);
+ require_once(BASEPATH.'database/DB_driver'.EXT);
if ( ! isset($params['active_r']) OR $params['active_r'] == TRUE)
{
- require_once(BASEPATH.'drivers/DB_active_record'.EXT);
+ require_once(BASEPATH.'database/DB_active_record'.EXT);
if ( ! class_exists('CI_DB'))
{
@@ -381,7 +381,7 @@ class Controller extends CI_Base {
}
}
- require_once(BASEPATH.'drivers/DB_'.$params['dbdriver'].EXT);
+ require_once(BASEPATH.'database/drivers/'.$params['dbdriver'].'/'.$params['dbdriver'].EXT);
// Instantiate the DB adapter
$driver = 'CI_DB_'. $params['dbdriver'];