Merge remote-tracking branch 'healerz/2.x' into 2.x

This commit is contained in:
Troex Nevelin
2012-04-09 20:08:47 +03:00
+1 -1
View File
@@ -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);
}