Skip to content
Snippets Groups Projects
Commit a611ce4f authored by Björn Schießle's avatar Björn Schießle
Browse files

baseDir has to be the whole path to work with shared directories below the root directory.

parent b88a61c6
No related branches found
No related tags found
No related merge requests found
......@@ -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';
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment