commit | f0a9b332445977cfb05fee2dacc02667946a9cd2 | [log] [tgz] |
---|---|---|
author | Derek Jones <derek.jones@ellislab.com> | Wed Jul 29 14:19:18 2009 +0000 |
committer | Derek Jones <derek.jones@ellislab.com> | Wed Jul 29 14:19:18 2009 +0000 |
tree | 740e6f0bca8932f75c60ba7aa35831783e567764 | |
parent | de8f409e84c4b2c428cba3f2845f2658d3db9b90 [diff] [blame] |
PHP 5.3.0 compatibility changes
diff --git a/system/database/DB.php b/system/database/DB.php index efe1d38..0f734d7 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 =& new $driver($params); + $DB =& instantiate_class(new $driver($params)); if ($DB->autoinit == TRUE) {