summaryrefslogtreecommitdiffstats
path: root/lib/public/config.php
diff options
context:
space:
mode:
authorLukas Reschke <lukas@owncloud.com>2014-08-26 23:58:13 +0200
committerLukas Reschke <lukas@owncloud.com>2014-08-27 00:05:04 +0200
commit7acdd018a1555c9bc5dcc1702074a10f862bb170 (patch)
treeadbbeff4dfb9f0dca4ae27902448cde6c141c771 /lib/public/config.php
parent3115053bbb3a1ba5d0bb3562bea6b7ef94a09cd0 (diff)
downloadnextcloud-server-7acdd018a1555c9bc5dcc1702074a10f862bb170.tar.gz
nextcloud-server-7acdd018a1555c9bc5dcc1702074a10f862bb170.zip
Add support for getting the real client IP behind proxies
Fixes https://github.com/owncloud/core/issues/10624 Fix copy paste fail Add unittest for comma separated headers Revert 3rdparty
Diffstat (limited to 'lib/public/config.php')
-rw-r--r--lib/public/config.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/public/config.php b/lib/public/config.php
index ea3e0c1372a..65dde39cdce 100644
--- a/lib/public/config.php
+++ b/lib/public/config.php
@@ -43,7 +43,7 @@ class Config {
* Gets a value from config.php
* @param string $key key
* @param mixed $default = null default value
- * @return string the value or $default
+ * @return mixed the value or $default
*
* This function gets the value from config.php. If it does not exist,
* $default will be returned.