aboutsummaryrefslogtreecommitdiffstats
path: root/tools/create_listing_file.php
diff options
context:
space:
mode:
authorlaurent.duretz <laurent.duretz@piwigo.org>2008-11-06 07:13:50 +0000
committerlaurent.duretz <laurent.duretz@piwigo.org>2008-11-06 07:13:50 +0000
commit5799abb9ee3903f692acc1527b7733ca57a09e11 (patch)
tree96899fe5d33511f9e0ef31cc739f5b30b1009a54 /tools/create_listing_file.php
parent4411169d1aa5e477c33794d213394bca591a43a3 (diff)
Issue 899
git-svn-id: http://piwigo.org/svn/branches/branch-1_7@2834 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'tools/create_listing_file.php')
-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 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)