aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlaurent.duretz <laurent.duretz@piwigo.org>2008-11-06 07:14:12 +0000
committerlaurent.duretz <laurent.duretz@piwigo.org>2008-11-06 07:14:12 +0000
commit894a38a9bf7c30662a75af78f3674dfa82414674 (patch)
tree52a8a04485a8c7ebda45b0acd3694a1f018a38cc
parent536129a4aa2f223c6b11750f8ca00d3e0e175d1a (diff)
Issue 899
git-svn-id: http://piwigo.org/svn/branches/2.0@2835 68402e56-0260-453c-a942-63ccdbb3a9ee
-rw-r--r--tools/create_listing_file.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/create_listing_file.php b/tools/create_listing_file.php
index 338b6c02d..0379ff814 100644
--- a/tools/create_listing_file.php
+++ b/tools/create_listing_file.php
@@ -792,6 +792,7 @@ function pwg_scan_file($file_full, &$line)
{
$element['representative_ext'] = $ext;
}
+ $element['filesize'] = floor(filesize($file_full) / 1024);
}
if (strlen($error_log) == 0)