Changeset 1440727
- Timestamp:
- 06/21/2016 08:32:22 AM (10 years ago)
- Location:
- unc-gallery/trunk
- Files:
-
- 3 edited
-
unc_backend.inc.php (modified) (3 diffs)
-
unc_gallery.php (modified) (1 diff)
-
unc_tools.inc.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
unc-gallery/trunk/unc_backend.inc.php
r1440703 r1440727 307 307 308 308 // delete all thumbnails 309 unc_gallery_recurse_files($ photo_folder, 'unlink', 'rmdir');310 311 $target_folders = unc_tools_recurse_folders($ thumb_root);309 unc_gallery_recurse_files($thumb_root, 'unlink', 'rmdir'); 310 311 $target_folders = unc_tools_recurse_folders($photo_folder); 312 312 313 313 if ($UNC_GALLERY['debug']) {XMPP_ERROR_trace('target folders:', $target_folders);} … … 318 318 $thumb_folder = $thumb_root . "/" . $date; 319 319 echo "Processing $date: "; 320 unc_date_folder_create($date); 320 321 321 322 // enumerate all the files in the source folder … … 324 325 echo "."; 325 326 $filename = basename($image_file); 327 326 328 $thumb_filename = $thumb_folder . "/" . $filename; 327 329 unc_import_image_resize( -
unc-gallery/trunk/unc_gallery.php
r1440713 r1440727 4 4 Plugin URI: https://uncovery.net/about 5 5 Description: A simple, self-generating, date-based gallery with bulk uploading 6 Version: 4.1. 26 Version: 4.1.3 7 7 Author: Uncovery 8 8 Author URI: http://uncovery.net -
unc-gallery/trunk/unc_tools.inc.php
r1440713 r1440727 346 346 die("Error, recursive path! $base_folder"); 347 347 } 348 if (!file_exists($base_folder)) { 349 return false; 350 } 348 351 foreach (glob($base_folder . "/*") as $file) { 349 352 if (is_dir($file)) {
Note: See TracChangeset
for help on using the changeset viewer.