@@ -35,7 +35,7 @@ |
||
35 | 35 | Configure::write('ContentsFile.Setting.S3.fileDir', Configure::read('ContentsFile.Setting.S3.fileDir') . '/'); |
36 | 36 | } |
37 | 37 | if (!preg_match('#/$#', Configure::read('ContentsFile.Setting.S3.workingDir'))) { |
38 | - Configure::write('ContentsFile.Setting.S3.workingDir', Configure::read('ContentsFile.Setting.S3.workingDir'). '/'); |
|
38 | + Configure::write('ContentsFile.Setting.S3.workingDir', Configure::read('ContentsFile.Setting.S3.workingDir') . '/'); |
|
39 | 39 | } |
40 | 40 | } |
41 | 41 |
@@ -158,8 +158,8 @@ |
||
158 | 158 | switch ($imagetype) { |
159 | 159 | case IMAGETYPE_GIF: |
160 | 160 | //透過GIF対策 |
161 | - $alpha = imagecolortransparent($image); // 元画像から透過色を取得する |
|
162 | - imagefill($outImage, 0, 0, $alpha); // その色でキャンバスを塗りつぶす |
|
161 | + $alpha = imagecolortransparent($image); // 元画像から透過色を取得する |
|
162 | + imagefill($outImage, 0, 0, $alpha); // その色でキャンバスを塗りつぶす |
|
163 | 163 | imagecolortransparent($outImage, $alpha); // 塗りつぶした色を透過色として指定する |
164 | 164 | //!透過GIF対策 |
165 | 165 | break; |