commit | 8f0a8f693307a6d04b8a50aa11f81041c961adf6 | [log] [tgz] |
---|---|---|
author | admin <devnull@localhost> | Sat Oct 07 01:17:25 2006 +0000 |
committer | admin <devnull@localhost> | Sat Oct 07 01:17:25 2006 +0000 |
tree | 698f2b4d004a5dd604ded5138fc6afdcb776ade0 | |
parent | 61c5717b76bc39823215aaceacdba97264f668d4 [diff] [blame] |
diff --git a/system/database/DB.php b/system/database/DB.php index a60c98e..f7476a6 100644 --- a/system/database/DB.php +++ b/system/database/DB.php
@@ -27,7 +27,7 @@ $obj =& get_instance(); // Do we even need to load the database class? - if ($obj->_ci_is_loaded('db') == TRUE AND $return == FALSE AND $active_record == FALSE) + if (class_exists('CI_DB') AND $return == FALSE AND $active_record == FALSE) { return FALSE; }