Changeset 26308 for extensions/header_manager/include
- Timestamp:
- Dec 29, 2013, 11:02:14 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/header_manager/include/banner.class.php
r26298 r26308 51 51 return $this->get_resize_result($destination_filepath, $crop['width'], $crop['height'], $starttime); 52 52 } 53 54 private function get_resize_result($destination_filepath, $width, $height, $time=null)55 {56 return array(57 'source' => $this->source_filepath,58 'destination' => $destination_filepath,59 'width' => $width,60 'height' => $height,61 'size' => floor(filesize($destination_filepath) / 1024).' KB',62 'time' => $time ? number_format((get_moment() - $time) * 1000, 2, '.', ' ').' ms' : null,63 'library' => $this->library,64 );65 }66 53 }
Note: See TracChangeset
for help on using the changeset viewer.