Changeset 23324 for extensions
- Timestamp:
- Jun 18, 2013, 3:39:36 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/download_by_size/action.php
r23162 r23324 128 128 } 129 129 $file = $deriv->get_path(); 130 $size = $deriv->get_size(); 131 132 // change the name of the file for download, suffix with _widthxheight before the extension 133 $basename = get_filename_wo_extension($element_info['file']); 134 $extension = get_extension($element_info['file']); 135 $element_info['file'] = $basename.'_'.$size[0].'x'.$size[1].'.'.$extension; 130 136 } 131 137 else
Note: See TracChangeset
for help on using the changeset viewer.