From a611ce4f3327fda869884415c76c3dd64345e2c2 Mon Sep 17 00:00:00 2001 From: Björn Schießle Date: Thu, 4 Oct 2012 17:18:21 +0200 Subject: baseDir has to be the whole path to work with shared directories below the root directory. --- apps/files_sharing/public.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps') 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'; -- cgit v1.2.3