Removing instantiate_class(), which was needed to make php 4 and 5.3 play together nicely. Removed all instantiations by reference.
diff --git a/system/core/Loader.php b/system/core/Loader.php
index 6991764..e97b181 100644
--- a/system/core/Loader.php
+++ b/system/core/Loader.php
@@ -267,7 +267,7 @@
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();
}
// --------------------------------------------------------------------