mirror of
https://github.com/Studio-42/elFinder
synced 2026-06-08 12:37:09 +00:00
fix upload problem when file exists
This commit is contained in:
@@ -1371,7 +1371,7 @@ abstract class elFinderVolumeDriver {
|
||||
} elseif ($file['mime'] == 'directory') {
|
||||
return $this->setError(elFinder::ERROR_NOT_REPLACE, $name);
|
||||
}
|
||||
$this->remove($file);
|
||||
$this->remove($test);
|
||||
} else {
|
||||
$name = $this->uniqueName($dstpath, $name, '-', false);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user