mirror of
https://github.com/lrsjng/h5ai.git
synced 2025-05-28 05:54:48 -04:00
php_tar: Fixes total size.
This commit is contained in:
parent
c5f23c5289
commit
cc42a48f74
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue