aboutsummaryrefslogtreecommitdiffstats
path: root/tools/create_listing_file.php
diff options
context:
space:
mode:
authorlaurent.duretz <laurent.duretz@piwigo.org>2008-11-06 07:13:27 +0000
committerlaurent.duretz <laurent.duretz@piwigo.org>2008-11-06 07:13:27 +0000
commit82a2d09d76b86765d3d681dd8bed63f3a9fe68de (patch)
tree8b721b09f8338549165152b71b91899ee2c9032d /tools/create_listing_file.php
parentb352f8a4dc13bad0c3645ff8ad042b1458f54ede (diff)
Issue 899
git-svn-id: http://piwigo.org/svn/trunk@2833 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-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 e49bc2634..f0eedc6ce 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)