commit | 585600207a79c1d9a7b0af5883bf384629b753a3 | [log] [tgz] |
---|---|---|
author | Pascal Kriete <pascal.kriete@ellislab.com> | Wed Nov 10 16:01:20 2010 -0500 |
committer | Pascal Kriete <pascal.kriete@ellislab.com> | Wed Nov 10 16:01:20 2010 -0500 |
tree | fbd723a9f6f50adf0b1c988344275ddba010816b | |
parent | a88f04381a6c3953506d31a60a9909cb0d5243ee [diff] |
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/database/DB.php b/system/database/DB.php index b51995b..60a67e8 100644 --- a/system/database/DB.php +++ b/system/database/DB.php
@@ -130,7 +130,7 @@ // Instantiate the DB adapter $driver = 'CI_DB_'.$params['dbdriver'].'_driver'; - $DB =& instantiate_class(new $driver($params)); + $DB = new $driver($params); if ($DB->autoinit == TRUE) {