mirror of
https://github.com/lrsjng/h5ai.git
synced 2025-07-31 10:30:15 +02:00
php_tar: Fixes total size.
This commit is contained in:
@@ -59,7 +59,7 @@ class Archive {
|
||||
private function php_tar($dirs, $files) {
|
||||
|
||||
$filesizes = array();
|
||||
$total_size = 0;
|
||||
$total_size = 512 * count($dirs);
|
||||
foreach (array_keys($files) as $real_file) {
|
||||
|
||||
$size = filesize($real_file);
|
||||
|
Reference in New Issue
Block a user