summaryrefslogtreecommitdiffstats
path: root/system/database
diff options
context:
space:
mode:
authorDavid Behler <mail@davidbehler.de>2011-08-15 00:25:06 +0200
committerDavid Behler <mail@davidbehler.de>2011-08-15 00:25:06 +0200
commit07b53422f8d61e6b0b7e6479b0de92ad1a1ce05e (patch)
tree1835aaefbc8d49b0a1c6c9fa823bcef0f303de4c /system/database
parentcda768a957172d5da7aa7637337405c39e0f774d (diff)
Added some docs to CI core files
Diffstat (limited to 'system/database')
-rwxr-xr-x[-rw-r--r--]system/database/DB.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/system/database/DB.php b/system/database/DB.php
index 33207d885..8314d3b97 100644..100755
--- a/system/database/DB.php
+++ b/system/database/DB.php
@@ -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)