diff options
Diffstat (limited to 'apps/files_sharing/public.php')
-rw-r--r-- | apps/files_sharing/public.php | 2 |
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; |