aboutsummaryrefslogtreecommitdiffstats
path: root/lib/request.php
diff options
context:
space:
mode:
authorBart Visscher <bartv@thisnet.nl>2013-01-16 09:25:57 -0800
committerBart Visscher <bartv@thisnet.nl>2013-01-16 09:25:57 -0800
commit1d57a2e2a9d5e392bb1061479543cd1dec860c4b (patch)
treec0a4b2c32975ec45c5d7ec371f1a4dfcb7caab0b /lib/request.php
parentcb0fd30458c29db7667582b7c182b4d530366634 (diff)
parent5bfe4adbaa9c402db5bd0d0f74fd9ad7bb037129 (diff)
downloadnextcloud-server-1d57a2e2a9d5e392bb1061479543cd1dec860c4b.tar.gz
nextcloud-server-1d57a2e2a9d5e392bb1061479543cd1dec860c4b.zip
Merge pull request #1180 from owncloud/whitespace-cleanup
Whitespace cleanup
Diffstat (limited to 'lib/request.php')
-rwxr-xr-xlib/request.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/request.php b/lib/request.php
index 99a77e1b59e..f2f15c21103 100755
--- a/lib/request.php
+++ b/lib/request.php
@@ -19,7 +19,7 @@ class OC_Request {
return 'localhost';
}
if(OC_Config::getValue('overwritehost', '')<>'') {
- return OC_Config::getValue('overwritehost');
+ return OC_Config::getValue('overwritehost');
}
if (isset($_SERVER['HTTP_X_FORWARDED_HOST'])) {
if (strpos($_SERVER['HTTP_X_FORWARDED_HOST'], ",") !== false) {
@@ -44,7 +44,7 @@ class OC_Request {
*/
public static function serverProtocol() {
if(OC_Config::getValue('overwriteprotocol', '')<>'') {
- return OC_Config::getValue('overwriteprotocol');
+ return OC_Config::getValue('overwriteprotocol');
}
if (isset($_SERVER['HTTP_X_FORWARDED_PROTO'])) {
$proto = strtolower($_SERVER['HTTP_X_FORWARDED_PROTO']);