From: Georg Ehrke Date: Mon, 23 Apr 2012 14:28:37 +0000 (+0200) Subject: fix bug in lib/helper.php and fix file upload X-Git-Tag: v4.0.0beta~168^2~38 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=aaedb23f055d0b6465743e79fa97cc8b02121a35;p=nextcloud-server.git fix bug in lib/helper.php and fix file upload --- diff --git a/lib/helper.php b/lib/helper.php index 34f8faad4a5..d68830fe483 100755 --- a/lib/helper.php +++ b/lib/helper.php @@ -44,7 +44,7 @@ class OC_Helper { if(substr($app, -1, 1) == '/'){ $app = substr($app, 0, strlen($app) - 1); } - $urlLinkTo = OC::$WEBROOT . '?app=' . $app; + $urlLinkTo = OC::$APPSWEBROOT . '/?app=' . $app; $urlLinkTo .= ($file!='index.php')?'&file=' . $file:''; } else{