Update to CodeIgniter 2.1.0
This commit is contained in:
@@ -21,6 +21,8 @@
|
||||
* @category Database
|
||||
* @author ExpressionEngine Dev Team
|
||||
* @link http://codeigniter.com/user_guide/database/
|
||||
* @param string
|
||||
* @param bool Determines if active record should be used or not
|
||||
*/
|
||||
function &DB($params = '', $active_record_override = NULL)
|
||||
{
|
||||
@@ -35,7 +37,7 @@ function &DB($params = '', $active_record_override = NULL)
|
||||
show_error('The configuration file database.php does not exist.');
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
include($file_path);
|
||||
|
||||
if ( ! isset($db) OR count($db) == 0)
|
||||
|
||||
Reference in New Issue
Block a user