diff options
author | Lukas Reschke <lukas@owncloud.com> | 2014-08-26 23:58:13 +0200 |
---|---|---|
committer | Lukas Reschke <lukas@owncloud.com> | 2014-08-27 00:05:04 +0200 |
commit | 7acdd018a1555c9bc5dcc1702074a10f862bb170 (patch) | |
tree | adbbeff4dfb9f0dca4ae27902448cde6c141c771 /lib/public/config.php | |
parent | 3115053bbb3a1ba5d0bb3562bea6b7ef94a09cd0 (diff) | |
download | nextcloud-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.php | 2 |
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. |