From 82a2d09d76b86765d3d681dd8bed63f3a9fe68de Mon Sep 17 00:00:00 2001 From: "laurent.duretz" Date: Thu, 6 Nov 2008 07:13:27 +0000 Subject: Issue 899 git-svn-id: http://piwigo.org/svn/trunk@2833 68402e56-0260-453c-a942-63ccdbb3a9ee --- tools/create_listing_file.php | 1 + 1 file changed, 1 insertion(+) (limited to 'tools') 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) -- cgit v1.2.3