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/libraries/Loader.php | |
parent | de8f409e84c4b2c428cba3f2845f2658d3db9b90 (diff) |
PHP 5.3.0 compatibility changes
Diffstat (limited to 'system/libraries/Loader.php')
-rw-r--r-- | system/libraries/Loader.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/system/libraries/Loader.php b/system/libraries/Loader.php index d615a1363..781c83c65 100644 --- a/system/libraries/Loader.php +++ b/system/libraries/Loader.php @@ -252,7 +252,7 @@ class CI_Loader { 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(); } |