Skip to content

Commit a1ae0fa

Browse files
authored
fix: #52 Does not respect directory tree while uploading a folder containing sub-folders (#1056)
1 parent ca4b1b1 commit a1ae0fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tinyfilemanager.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -958,7 +958,7 @@ function get_file_path () {
958958

959959
$targetPath = $path . $ds;
960960
if ( is_writable($targetPath) ) {
961-
$fullPath = $path . '/' . basename($fullPathInput);
961+
$fullPath = $path . '/' . $fullPathInput;
962962
$folder = substr($fullPath, 0, strrpos($fullPath, "/"));
963963

964964
if (!is_dir($folder)) {

0 commit comments

Comments
 (0)