Changeset 22489 for branches/version-2_12-multilang/data/class/SC_Image.php
- Timestamp:
- 2013/01/31 18:39:05 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_12-multilang/data/class/SC_Image.php
r22453 r22489 57 57 'T_ARG2' => $to_path 58 58 ); 59 GC_Utils_Ex::gfDebugLog(t(' SC_Image_002', $tokens));59 GC_Utils_Ex::gfDebugLog(t('c_Copying of T_FROM->T_TO failed._01', $tokens)); 60 60 } 61 61 } … … 99 99 100 100 if (empty($FromImgPath) || empty($ToImgPath)) { 101 return array(0, t(' SC_Image_003'));101 return array(0, t('c_The output source image path or the output destination folder has not been designated._01')); 102 102 } 103 103 104 104 if (!file_exists($FromImgPath)) { 105 return array(0, t(' SC_Image_004'));105 return array(0, t('c_The output source image was not found._01')); 106 106 } 107 107 … … 111 111 // 画像の種類が不明 or swf 112 112 if (!$size[2] || $size[2] > 3) { 113 return array(0, t(' SC_Image_005'));113 return array(0, t('c_The image format is not supported._01')); 114 114 } 115 115 … … 156 156 } 157 157 if (!@copy($FromImgPath , $ToImgPath.$ToFile)) { // エラー処理 158 return array(0, t(' SC_Image_001'));158 return array(0, t('c_File copying failed._01')); 159 159 } 160 160 ImageDestroy($ImgNew); … … 179 179 // 画像が作成されていない場合 180 180 if (!@file_exists($TmpPath)) { 181 return array(0, t(' SC_Image_006'));181 return array(0, t('c_Image output failed._01')); 182 182 } 183 183 ImageDestroy($ImgNew); … … 206 206 // 画像が作成されていない場合 207 207 if (!@file_exists($TmpPath)) { 208 return array(0, t(' SC_Image_006')."<br>${ImgNew}<br>${TmpPath}");208 return array(0, t('c_Image output failed._01')."<br>${ImgNew}<br>${TmpPath}"); 209 209 } 210 210 $RetVal = $ToFile; … … 227 227 // 画像が作成されていない場合 228 228 if (!@file_exists($TmpPath)) { 229 return array(0, t(' SC_Image_006'));229 return array(0, t('c_Image output failed._01')); 230 230 } 231 231 $RetVal = $ToFile;
Note: See TracChangeset
for help on using the changeset viewer.