Ignore:
Timestamp:
01/23/08 17:37:32 (4 years ago)
Author:
bogdanpasoi@…
Message:

Better rating graph.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/scripts/check-attachments

    r852 r884  
    1010 
    1111$res = db_query("SELECT `id`, `name`, `page` FROM ia_file"); 
    12  
    13 if (read_bool("Lower case all attachments files?", true)) { 
    14     $extra_files = glob(IA_ROOT_DIR . "attach/*"); 
    15     foreach ($extra_files as $fname) { 
    16         if (preg_match('/[A-Z]/', $fname)) { 
    17             rename($fname, strtolower($fname)); 
    18         } 
    19     } 
    20     unset($extra_files); 
    21 } 
    2212 
    2313$extra_files = array_flip(glob(IA_ROOT_DIR . "attach/*")); 
Note: See TracChangeset for help on using the changeset viewer.