diff options
author | Derek Jones <derek.jones@ellislab.com> | 2009-07-29 16:19:18 +0200 |
---|---|---|
committer | Derek Jones <derek.jones@ellislab.com> | 2009-07-29 16:19:18 +0200 |
commit | f0a9b332445977cfb05fee2dacc02667946a9cd2 (patch) | |
tree | 740e6f0bca8932f75c60ba7aa35831783e567764 /system/database/DB.php | |
parent | de8f409e84c4b2c428cba3f2845f2658d3db9b90 (diff) |
PHP 5.3.0 compatibility changes
Diffstat (limited to 'system/database/DB.php')
-rw-r--r-- | system/database/DB.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/system/database/DB.php b/system/database/DB.php index efe1d388a..0f734d748 100644 --- a/system/database/DB.php +++ b/system/database/DB.php @@ -130,7 +130,7 @@ function &DB($params = '', $active_record_override = FALSE) // Instantiate the DB adapter $driver = 'CI_DB_'.$params['dbdriver'].'_driver'; - $DB =& new $driver($params); + $DB =& instantiate_class(new $driver($params)); if ($DB->autoinit == TRUE) { |