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