summaryrefslogtreecommitdiffstats
path: root/system/core/Loader.php
diff options
context:
space:
mode:
authorPascal Kriete <pascal.kriete@ellislab.com>2010-11-10 22:01:20 +0100
committerPascal Kriete <pascal.kriete@ellislab.com>2010-11-10 22:01:20 +0100
commit585600207a79c1d9a7b0af5883bf384629b753a3 (patch)
treefbd723a9f6f50adf0b1c988344275ddba010816b /system/core/Loader.php
parenta88f04381a6c3953506d31a60a9909cb0d5243ee (diff)
Removing instantiate_class(), which was needed to make php 4 and 5.3 play together nicely. Removed all instantiations by reference.
Diffstat (limited to 'system/core/Loader.php')
-rw-r--r--system/core/Loader.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/core/Loader.php b/system/core/Loader.php
index 69917648d..e97b18102 100644
--- a/system/core/Loader.php
+++ b/system/core/Loader.php
@@ -267,7 +267,7 @@ class CI_Loader {
require_once(BASEPATH.'database/drivers/'.$CI->db->dbdriver.'/'.$CI->db->dbdriver.'_utility'.EXT);
$class = 'CI_DB_'.$CI->db->dbdriver.'_utility';
- $CI->dbutil =& instantiate_class(new $class());
+ $CI->dbutil = new $class();
}
// --------------------------------------------------------------------