This commit is contained in:
BANKA2017 2024-03-31 19:43:58 +02:00 committed by GitHub
commit f27a00ed26
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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)) {