From a57d4726bc6d7898e82897379a5effb8a28eadbf Mon Sep 17 00:00:00 2001
From: Michael Gapczynski <GapczynskiM@gmail.com>
Date: Thu, 18 Aug 2011 19:44:00 -0400
Subject: [PATCH] Remove some scripts, now you can actually download the files
 in a public link folder

---
 apps/files_sharing/get.php | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/apps/files_sharing/get.php b/apps/files_sharing/get.php
index a828989a8a5..e50a319ace4 100644
--- a/apps/files_sharing/get.php
+++ b/apps/files_sharing/get.php
@@ -40,17 +40,15 @@ if ($source !== false) {
 		}
 		// Make breadcrumb
 		$breadcrumb = array();
-		$pathtohere = "/";
+		$pathtohere = "";
 		foreach (explode("/", $subPath) as $i) {
 			if ($i != "") {
-				$pathtohere .= "$i/";
+				$pathtohere .= "/$i";
 				$breadcrumb[] = array("dir" => $pathtohere, "name" => $i);
 			}
 		}
 		// Load the files we need
 		OC_Util::addStyle("files", "files");
-		OC_Util::addScript("files", "files");
-		OC_Util::addScript("files", "filelist");
 		$breadcrumbNav = new OC_Template("files", "part.breadcrumb", "");
 		$breadcrumbNav->assign("breadcrumb", $breadcrumb);
 		$breadcrumbNav->assign("baseURL", OC_Helper::linkTo("files_sharing", "get.php")."?token=".$token."&path=");
-- 
GitLab