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/libraries/Loader.php b/system/libraries/Loader.php index d615a13..781c83c 100644 --- a/system/libraries/Loader.php +++ b/system/libraries/Loader.php
@@ -252,7 +252,7 @@ require_once(BASEPATH.'database/drivers/'.$CI->db->dbdriver.'/'.$CI->db->dbdriver.'_utility'.EXT); $class = 'CI_DB_'.$CI->db->dbdriver.'_utility'; - $CI->dbutil =& new $class(); + $CI->dbutil =& instantiate_class(new $class()); $CI->load->_ci_assign_to_models(); }