diff options
author | laurent.duretz <laurent.duretz@piwigo.org> | 2008-11-06 07:14:12 +0000 |
---|---|---|
committer | laurent.duretz <laurent.duretz@piwigo.org> | 2008-11-06 07:14:12 +0000 |
commit | 894a38a9bf7c30662a75af78f3674dfa82414674 (patch) | |
tree | 52a8a04485a8c7ebda45b0acd3694a1f018a38cc /tools/create_listing_file.php | |
parent | 536129a4aa2f223c6b11750f8ca00d3e0e175d1a (diff) |
Issue 899
git-svn-id: http://piwigo.org/svn/branches/2.0@2835 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'tools/create_listing_file.php')
-rw-r--r-- | tools/create_listing_file.php | 1 |
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) |