]> source.dussan.org Git - nextcloud-server.git/commitdiff
fixed linkTo()
authorFlorian Hülsmann <fh@cbix.de>
Sat, 30 Jun 2012 14:53:41 +0000 (16:53 +0200)
committerFlorian Hülsmann <fh@cbix.de>
Sat, 30 Jun 2012 14:53:41 +0000 (16:53 +0200)
lib/helper.php

index 64378da356e717c7e68929e19870a50416405d89..b1d2da1452fd066e52de02960e2743f7448b540c 100644 (file)
@@ -45,7 +45,7 @@ class OC_Helper {
                                        $urlLinkTo =  OC::$WEBROOT . '/?app=' . $app;
                                        $urlLinkTo .= ($file!='index.php')?'&getfile=' . urlencode($file):'';
                                }else{
-                                       $urlLinkTo =  OC_App::getAppWebPath($app) . $file;
+                                       $urlLinkTo =  OC_App::getAppWebPath($app) . '/' . $file;
                                }
                        }
                        else{