From 5799abb9ee3903f692acc1527b7733ca57a09e11 Mon Sep 17 00:00:00 2001 From: "laurent.duretz" Date: Thu, 6 Nov 2008 07:13:50 +0000 Subject: Issue 899 git-svn-id: http://piwigo.org/svn/branches/branch-1_7@2834 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 2500973ef..6ab61c2b5 100644 --- a/tools/create_listing_file.php +++ b/tools/create_listing_file.php @@ -796,6 +796,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