mirror of
https://github.com/Studio-42/elFinder
synced 2026-06-08 12:37:09 +00:00
Merge remote-tracking branch 'healerz/2.x' into 2.x
This commit is contained in:
@@ -1354,7 +1354,7 @@ abstract class elFinderVolumeDriver {
|
||||
return $this->setError(elFinder::ERROR_UPLOAD_FILE_MIME);
|
||||
}
|
||||
|
||||
if ($this->uploadMaxSize > 0 && filesize($tmpPath) > $this->uploadMaxSize) {
|
||||
if ($this->uploadMaxSize > 0 && filesize($tmpname) > $this->uploadMaxSize) {
|
||||
return $this->setError(elFinder::ERROR_UPLOAD_FILE_SIZE);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user