summaryrefslogtreecommitdiff
path: root/includes/bootstrap.inc
diff options
context:
space:
mode:
Diffstat (limited to 'includes/bootstrap.inc')
-rw-r--r--includes/bootstrap.inc3
1 files changed, 2 insertions, 1 deletions
diff --git a/includes/bootstrap.inc b/includes/bootstrap.inc
index 360564d84..6a9d3a071 100644
--- a/includes/bootstrap.inc
+++ b/includes/bootstrap.inc
@@ -2467,7 +2467,8 @@ function request_path() {
*
* @return
* The component specified by $index, or NULL if the specified component was
- * not found.
+ * not found. If called without arguments, it returns an array containing all
+ * the components of the current path.
*/
function arg($index = NULL, $path = NULL) {
// Even though $arguments doesn't need to be resettable for any functional