summaryrefslogtreecommitdiffstats
path: root/system/database/DB_driver.php
diff options
context:
space:
mode:
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();
}
// --------------------------------------------------------------------