Changeset 14649 for trunk/include/derivative_std_params.inc.php
- Timestamp:
- May 2, 2012, 6:29:56 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/derivative_std_params.inc.php
r14581 r14649 52 52 private static $watermark; 53 53 public static $custom = array(); 54 public static $quality=95; 54 55 55 56 static function get_all_types() … … 110 111 self::$custom = @$arr['c']; 111 112 if (!self::$custom) self::$custom = array(); 113 if (isset($arr['q'])) self::$quality = $arr['q']; 112 114 } 113 115 else … … 115 117 self::$watermark = new WatermarkParams(); 116 118 self::$type_map = self::get_default_sizes(); 119 self::save(); 117 120 } 118 121 self::build_maps(); … … 137 140 $ser = serialize( array( 138 141 'd' => self::$type_map, 142 'q' => self::$quality, 139 143 'w' => self::$watermark, 140 144 'c' => self::$custom,
Note: See TracChangeset
for help on using the changeset viewer.