@@ 201-207 (lines=7) @@ | ||
198 | } |
|
199 | } else { |
|
200 | $resizeText = ''; |
|
201 | if ( |
|
202 | empty($fileInfo['resize']['width']) |
|
203 | ) { |
|
204 | $resizeText .= '0'; |
|
205 | } else { |
|
206 | $resizeText .= $fileInfo['resize']['width']; |
|
207 | } |
|
208 | $resizeText .= '_'; |
|
209 | if ( |
|
210 | empty($fileInfo['resize']['height']) |
|
@@ 209-215 (lines=7) @@ | ||
206 | $resizeText .= $fileInfo['resize']['width']; |
|
207 | } |
|
208 | $resizeText .= '_'; |
|
209 | if ( |
|
210 | empty($fileInfo['resize']['height']) |
|
211 | ) { |
|
212 | $resizeText .= '0'; |
|
213 | } else { |
|
214 | $resizeText .= $fileInfo['resize']['height']; |
|
215 | } |
|
216 | if (Configure::read('ContentsFile.Setting.randomFile') === true && $fileInfo['file_random_path'] != '') { |
|
217 | $staticS3Url .= 'contents_file_resize_' . $fileInfo['file_random_path'] . '/' . $resizeText; |
|
218 | } else { |