]> source.dussan.org Git - nextcloud-server.git/commitdiff
another fix for linkto function
authorGeorg Ehrke <dev@georgswebsite.de>
Tue, 24 Apr 2012 18:17:00 +0000 (20:17 +0200)
committerGeorg Ehrke <dev@georgswebsite.de>
Tue, 24 Apr 2012 18:17:00 +0000 (20:17 +0200)
lib/helper.php

index e532d5391f97e324b15b37ac474d8e6d211fecbe..2bc738e665034775d635332b7cfea654be68be90 100755 (executable)
@@ -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{