diff options
Diffstat (limited to 'apps/files_sharing/public.php')
-rw-r--r-- | apps/files_sharing/public.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/files_sharing/public.php b/apps/files_sharing/public.php index 6d3a07a9d0b..136767aeb45 100644 --- a/apps/files_sharing/public.php +++ b/apps/files_sharing/public.php @@ -22,7 +22,7 @@ function fileCmp($a, $b) { function determineIcon($file, $sharingRoot, $sharingToken) { // for folders we simply reuse the files logic if($file['type'] == 'dir') { - return \OCA\files\lib\Helper::determineIcon($file); + return \OCA\Files\Helper::determineIcon($file); } $relativePath = substr($file['path'], 6); @@ -170,6 +170,7 @@ if (isset($path)) { $tmpl->assign('dir', $getPath); OCP\Util::addStyle('files', 'files'); + OCP\Util::addStyle('files', 'upload'); OCP\Util::addScript('files', 'files'); OCP\Util::addScript('files', 'filelist'); OCP\Util::addscript('files', 'keyboardshortcuts'); |