diff options
author | Derek Allard <derek.allard@ellislab.com> | 2008-05-06 02:37:12 +0200 |
---|---|---|
committer | Derek Allard <derek.allard@ellislab.com> | 2008-05-06 02:37:12 +0200 |
commit | ff390bdb457dbcfb5ba3e95323bce5f4a2c17497 (patch) | |
tree | 8a98d19c647a6083489b12fc72f03abb3efefc4d /system | |
parent | 7f309810a6d3da76c1a2c4ef8e900c88f47afee4 (diff) |
DB Forge is now assigned to any models that exist after loading (#3457).
Diffstat (limited to 'system')
-rw-r--r-- | system/libraries/Loader.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/system/libraries/Loader.php b/system/libraries/Loader.php index 5cf1f2ae6..5966aebf6 100644 --- a/system/libraries/Loader.php +++ b/system/libraries/Loader.php @@ -272,6 +272,8 @@ class CI_Loader { $class = 'CI_DB_'.$CI->db->dbdriver.'_forge';
$CI->dbforge = new $class();
+
+ $CI->load->_ci_assign_to_models();
}
// --------------------------------------------------------------------
|