summaryrefslogtreecommitdiffstats
path: root/lib/helper.php
diff options
context:
space:
mode:
authorFrank Karlitschek <frank@owncloud.org>2012-06-05 12:52:23 +0200
committerFrank Karlitschek <frank@owncloud.org>2012-06-05 12:52:23 +0200
commite3031ae28be12b377f6a570f8048512b744d5951 (patch)
tree827cd05b1593a0e57caccde62625d728516caeee /lib/helper.php
parent564b0358f91df832afdf3a0fd27eaa349508c964 (diff)
downloadnextcloud-server-e3031ae28be12b377f6a570f8048512b744d5951.tar.gz
nextcloud-server-e3031ae28be12b377f6a570f8048512b744d5951.zip
more reliable host detection for reverse proxy servers
Diffstat (limited to 'lib/helper.php')
-rw-r--r--lib/helper.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/helper.php b/lib/helper.php
index aedac204058..decc1d61336 100644
--- a/lib/helper.php
+++ b/lib/helper.php
@@ -120,7 +120,7 @@ class OC_Helper {
*/
public static function linkToAbsolute( $app, $file ) {
$urlLinkTo = self::linkTo( $app, $file );
- $urlLinkTo = OC_Helper::serverProtocol(). '://' . self::serverHost() . $urlLinkTo;
+ $urlLinkTo = self::serverProtocol(). '://' . self::serverHost() . $urlLinkTo;
return $urlLinkTo;
}