mirror of
https://github.com/prasathmani/tinyfilemanager
synced 2024-05-19 14:06:35 +02:00
This commit is contained in:
parent
ca4b1b1743
commit
a1ae0fa729
|
@ -958,7 +958,7 @@ if (!empty($_FILES) && !FM_READONLY) {
|
|||
|
||||
$targetPath = $path . $ds;
|
||||
if ( is_writable($targetPath) ) {
|
||||
$fullPath = $path . '/' . basename($fullPathInput);
|
||||
$fullPath = $path . '/' . $fullPathInput;
|
||||
$folder = substr($fullPath, 0, strrpos($fullPath, "/"));
|
||||
|
||||
if (!is_dir($folder)) {
|
||||
|
|
Loading…
Reference in a new issue