Skip to content

Commit

Permalink
https://github.com/WWBN/AVideo/issues/5552#issuecomment-900368344
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielnetoDotCom committed Aug 17, 2021
1 parent 8b82d76 commit 2e6dba5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -238,12 +238,12 @@ function getUsageFromFilename($filename, $dir = "") {
$files = glob("{$dir}{$filename}*");
foreach ($files as $f) {
if (is_dir($f)) {
//error_log("getUsageFromFilename: {$f} is Dir");
error_log("getUsageFromFilename: {$f} is Dir");
$dirSize = getDirSize($f);
$totalSize += $dirSize;
} else if (is_file($f)) {
$filesize = filesize($f);
//error_log("getUsageFromFilename: {$f} is File ({$filesize}) " . humanFileSize($filesize));
error_log("getUsageFromFilename: {$f} is File ({$filesize}) " . humanFileSize($filesize));
$totalSize += $filesize;
}
}
Expand Down

0 comments on commit 2e6dba5

Please sign in to comment.