Changeset 2219421
- Timestamp:
- 12/30/2019 04:07:45 AM (6 years ago)
- File:
-
- 1 edited
-
oss-upload/trunk/oss-upload.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
oss-upload/trunk/oss-upload.php
r2219304 r2219421 576 576 577 577 function oss_upload_admin_action(){ 578 if(! $action = $_GET['action']|| !is_super_admin()) return;578 if(!($action = $_GET['action']) || !is_super_admin()) return; 579 579 @set_time_limit(0); 580 580 ob_end_clean(); … … 605 605 } 606 606 foreach ($paths as $path){ 607 if(empty($path)) continue; 607 608 $imgs = oss_upload_readdir($path); 609 if(empty($imgs)) continue; 608 610 foreach ($imgs as $img) { 609 611 if(preg_match('/\-[0-9]+x[0-9]+\./', $img) && file_is_valid_image($img)){
Note: See TracChangeset
for help on using the changeset viewer.