From ff390bdb457dbcfb5ba3e95323bce5f4a2c17497 Mon Sep 17 00:00:00 2001 From: Derek Allard Date: Tue, 6 May 2008 00:37:12 +0000 Subject: DB Forge is now assigned to any models that exist after loading (#3457). --- system/libraries/Loader.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'system/libraries/Loader.php') 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(); } // -------------------------------------------------------------------- -- cgit v1.2.3-24-g4f1b