diff options
author | Robin Appelman <icewind@owncloud.com> | 2014-01-15 16:02:18 +0100 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2014-01-15 16:02:18 +0100 |
commit | 1462fba37c0840c83a2ba4e93c880b6542820073 (patch) | |
tree | 67788dbb2a95ac7551d755818c6bb7fc6fb501b0 /apps | |
parent | d279ddd9a25286bed6817413cc69987d57695e3b (diff) | |
download | nextcloud-server-1462fba37c0840c83a2ba4e93c880b6542820073.tar.gz nextcloud-server-1462fba37c0840c83a2ba4e93c880b6542820073.zip |
use OC_Util::basename
Diffstat (limited to 'apps')
-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 ef4345da20e..779b6de7451 100644 --- a/apps/files_sharing/public.php +++ b/apps/files_sharing/public.php @@ -111,7 +111,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; |