]> source.dussan.org Git - nextcloud-server.git/commitdiff
fix bug in lib/helper.php and fix file upload
authorGeorg Ehrke <dev@georgswebsite.de>
Mon, 23 Apr 2012 14:28:37 +0000 (16:28 +0200)
committerGeorg Ehrke <dev@georgswebsite.de>
Mon, 23 Apr 2012 14:28:37 +0000 (16:28 +0200)
lib/helper.php

index 34f8faad4a50f2c597bd56ed822f76ec5fc9ca58..d68830fe483178b688306511a94668d0f3582002 100755 (executable)
@@ -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{