From: Georg Ehrke Date: Tue, 24 Apr 2012 18:17:00 +0000 (+0200) Subject: another fix for linkto function X-Git-Tag: v4.0.0beta~168^2~27 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=0b06eff3a016a274b5f5f01ec1ff225da7d7b639;p=nextcloud-server.git another fix for linkto function --- diff --git a/lib/helper.php b/lib/helper.php index e532d5391f9..2bc738e6650 100755 --- a/lib/helper.php +++ b/lib/helper.php @@ -48,7 +48,7 @@ class OC_Helper { $urlLinkTo = OC::$APPSWEBROOT . '/?app=' . $app; $urlLinkTo .= ($file!='index.php')?'&getfile=' . urlencode($file):''; }else{ - $urlLinkTo = OC::$APPSWEBROOT . '/' . $app . $file; + $urlLinkTo = OC::$APPSWEBROOT . '/apps/' . $app . $file; } } else{