Changeset 1883 for trunk/tools


Ignore:
Timestamp:
Mar 9, 2007, 5:28:49 PM (17 years ago)
Author:
plg
Message:

New: #images.high_filesize was added so that we can sum the filesizes in the
filtered history. #images.high_filesize is filled during metadata
synchronization.

Bug fixed: in getAttribute XML function, when asking "filesize", it was
returning high_filesize. The regex was too simple.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/create_listing_file.php

    r1867 r1883  
    715715      {
    716716        $element['has_high'] = 'true';
     717       
     718        $high_file = $file_dir.'/'.$conf['high'].'/'.$file_base;
     719        $element['high_filesize'] = floor(filesize($high_file) / 1024);
    717720      }
    718721     
Note: See TracChangeset for help on using the changeset viewer.