summaryrefslogtreecommitdiffstats
path: root/lib/helper.php
diff options
context:
space:
mode:
authorGeorg Ehrke <dev@georgswebsite.de>2012-04-23 16:28:37 +0200
committerGeorg Ehrke <dev@georgswebsite.de>2012-04-23 16:28:37 +0200
commitaaedb23f055d0b6465743e79fa97cc8b02121a35 (patch)
tree0d0b913c8f4337eb41eb3553245a636e80721820 /lib/helper.php
parent3b9d28324519993e032a8c743bd8caf52f99bf1e (diff)
downloadnextcloud-server-aaedb23f055d0b6465743e79fa97cc8b02121a35.tar.gz
nextcloud-server-aaedb23f055d0b6465743e79fa97cc8b02121a35.zip
fix bug in lib/helper.php and fix file upload
Diffstat (limited to 'lib/helper.php')
-rwxr-xr-xlib/helper.php2
1 files changed, 1 insertions, 1 deletions
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{