Skip to content
Snippets Groups Projects
Commit a57d4726 authored by Michael Gapczynski's avatar Michael Gapczynski
Browse files

Remove some scripts, now you can actually download the files in a public link folder

parent d1aebcdd
No related branches found
No related tags found
No related merge requests found
......@@ -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=");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment