summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2014-08-11 13:10:45 +0200
committerRobin Appelman <icewind@owncloud.com>2014-08-11 13:10:45 +0200
commit86ae3bd1e7d20e4f28ea9d7b9f71f1fdef0087aa (patch)
tree707d078c2fb484f4c9c049ef931e0d446e71cd5b /apps
parentb83d00f847108076b6f9450d70c63a73455db8f0 (diff)
parent1462fba37c0840c83a2ba4e93c880b6542820073 (diff)
downloadnextcloud-server-86ae3bd1e7d20e4f28ea9d7b9f71f1fdef0087aa.tar.gz
nextcloud-server-86ae3bd1e7d20e4f28ea9d7b9f71f1fdef0087aa.zip
Merge pull request #10303 from owncloud/sharing-breadcrumb-folder-name
use OC_Util::basename
Diffstat (limited to 'apps')
-rw-r--r--apps/files_sharing/public.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_sharing/public.php b/apps/files_sharing/public.php
index c92d3fc4007..746bdf87c17 100644
--- a/apps/files_sharing/public.php
+++ b/apps/files_sharing/public.php
@@ -89,7 +89,7 @@ if (isset($path)) {
}
}
$basePath = $path;
- $rootName = basename($path);
+ $rootName = \OC_Util::basename($path);
if (isset($_GET['path']) && \OC\Files\Filesystem::isReadable($basePath . $_GET['path'])) {
$getPath = \OC\Files\Filesystem::normalizePath($_GET['path']);
$path .= $getPath;