mirror of
https://github.com/lrsjng/h5ai.git
synced 2025-05-30 06:55:16 -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) {
|
private function php_tar($dirs, $files) {
|
||||||
|
|
||||||
$filesizes = array();
|
$filesizes = array();
|
||||||
$total_size = 0;
|
$total_size = 512 * count($dirs);
|
||||||
foreach (array_keys($files) as $real_file) {
|
foreach (array_keys($files) as $real_file) {
|
||||||
|
|
||||||
$size = filesize($real_file);
|
$size = filesize($real_file);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue