summaryrefslogtreecommitdiffstats
path: root/system/database/DB_driver.php
diff options
context:
space:
mode:
authoradmin <devnull@localhost>2006-10-07 05:16:32 +0200
committeradmin <devnull@localhost>2006-10-07 05:16:32 +0200
commit88a8ad187b13b36d6120eae2344fe16c3a76219d (patch)
tree9707b986ae9fe37f226abd5fec76b58d15903858 /system/database/DB_driver.php
parent81ccb439c2743776728b798bdc7e31db3d826233 (diff)
Diffstat (limited to 'system/database/DB_driver.php')
-rw-r--r--system/database/DB_driver.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/system/database/DB_driver.php b/system/database/DB_driver.php
index b89ebbf8d..c8a00b7b1 100644
--- a/system/database/DB_driver.php
+++ b/system/database/DB_driver.php
@@ -165,13 +165,13 @@ class CI_DB_driver {
* @return string
*/
function load_utilities()
- {
- $obj =& get_instance();
-
+ {
require_once(BASEPATH.'database/DB_utility'.EXT);
require_once(BASEPATH.'database/drivers/'.$this->dbdriver.'/'.$this->dbdriver.'_utility'.EXT);
$class = 'CI_DB_'.$this->dbdriver.'_utility';
- $obj->dbutil = new $class();
+
+ $CI =& get_instance();
+ $CI->dbutil = new $class();
}
// --------------------------------------------------------------------