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/private/allconfig.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/private/allconfig.php')
-rw-r--r-- | lib/private/allconfig.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/allconfig.php b/lib/private/allconfig.php index eb114546010..ef8673af231 100644 --- a/lib/private/allconfig.php +++ b/lib/private/allconfig.php @@ -28,7 +28,7 @@ class AllConfig implements \OCP\IConfig { * * @param string $key the key of the value, under which it was saved * @param mixed $default the default value to be returned if the value isn't set - * @return string the saved value + * @return mixed the value or $default */ public function getSystemValue($key, $default = '') { return \OCP\Config::getSystemValue($key, $default); |