diff options
author | Björn Schießle <schiessle@owncloud.com> | 2012-10-04 17:18:21 +0200 |
---|---|---|
committer | Björn Schießle <schiessle@owncloud.com> | 2012-10-05 10:32:38 +0200 |
commit | a611ce4f3327fda869884415c76c3dd64345e2c2 (patch) | |
tree | b3da5cc27178be82ce8fc8e1521b2f24d1f1a527 /apps | |
parent | b88a61c63341d11bc709085852fb44a621e3119c (diff) | |
download | nextcloud-server-a611ce4f3327fda869884415c76c3dd64345e2c2.tar.gz nextcloud-server-a611ce4f3327fda869884415c76c3dd64345e2c2.zip |
baseDir has to be the whole path to work with shared directories below the root directory.
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 59755fe6938..aa074e629da 100644 --- a/apps/files_sharing/public.php +++ b/apps/files_sharing/public.php @@ -25,7 +25,7 @@ if (isset($_GET['file']) || isset($_GET['dir'])) { if (isset($_GET['dir'])) { $type = 'folder'; $path = $_GET['dir']; - $baseDir = basename($path); + $baseDir = $path; $dir = $baseDir; } else { $type = 'file'; |