mirror of
https://github.com/Studio-42/elFinder
synced 2026-06-08 12:37:09 +00:00
[VD:abstract] fix #3125 Fatal error in zipArchiveUnzip()
This commit is contained in:
@@ -7216,7 +7216,7 @@ abstract class elFinderVolumeDriver
|
||||
// Check total file size after extraction
|
||||
$num = $zip->numFiles;
|
||||
$size = 0;
|
||||
$maxSize = empty($this->options['maxArcFilesSize'])? '' : (string)$this->options['maxArcFilesSize'];
|
||||
$maxSize = empty(self::$maxArcFilesSize)? '' : (string)self::$maxArcFilesSize;
|
||||
$comp = function_exists('bccomp')? 'bccomp' : 'strnatcmp';
|
||||
for ($i = 0; $i < $num; $i++) {
|
||||
$stat = $zip->statIndex($i);
|
||||
|
||||
Reference in New Issue
Block a user