Changeset 557 for branches/release-1_3
- Timestamp:
- Oct 7, 2004, 11:42:22 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/release-1_3/admin/thumbnail.php
r549 r557 69 69 } 70 70 71 // scandir scans a dir to find pictures without thumbnails. Once found,71 // pwg_scandir scans a dir to find pictures without thumbnails. Once found, 72 72 // creation of the thumbnails (RatioResizeImg). Only the first $_POST['n'] 73 73 // pictures without thumbnails are treated. 74 // scandir returns an array with the generation time of each thumbnail (for74 // pwg_scandir returns an array with the generation time of each thumbnail (for 75 75 // statistics purpose) 76 function scandir( $dir, $width, $height )76 function pwg_scandir( $dir, $width, $height ) 77 77 { 78 78 global $conf; … … 298 298 { 299 299 $vtp->addSession( $sub, 'results' ); 300 $stats = scandir( $_GET['dir'], $_POST['width'], $_POST['height'] );300 $stats = pwg_scandir( $_GET['dir'], $_POST['width'], $_POST['height'] ); 301 301 $times = array(); 302 302 foreach ( $stats as $stat ) {
Note: See TracChangeset
for help on using the changeset viewer.