Changeset 11984 for branches/comu/data/class/SC_UploadFile.php
- Timestamp:
- 2007/03/28 15:05:09 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/comu/data/class/SC_UploadFile.php
r11730 r11984 195 195 $arrRet[$val]['filepath'] = $temp_url . "/" . $this->temp_file[$cnt]; 196 196 } 197 $arrRet[$val][' filepath_dir'] = $this->temp_dir . $this->temp_file[$cnt];197 $arrRet[$val]['real_filepath'] = $this->temp_dir . $this->temp_file[$cnt]; 198 198 } elseif ($this->save_file[$cnt] != "") { 199 199 // ¥Õ¥¡¥¤¥ë¥Ñ¥¹¥Á¥§¥Ã¥¯(¥Ñ¥¹¤Î¥¹¥é¥Ã¥·¥å/¤¬Ï¢Â³¤·¤Ê¤¤¤è¤¦¤Ë¤¹¤ë¡£) … … 203 203 $arrRet[$val]['filepath'] = $save_url . "/" . $this->save_file[$cnt]; 204 204 } 205 $arrRet[$val][' filepath_dir'] = $this->save_dir . $this->save_file[$cnt];205 $arrRet[$val]['real_filepath'] = $this->save_dir . $this->save_file[$cnt]; 206 206 } 207 207 if($arrRet[$val]['filepath'] != "") { 208 209 208 if($real_size){ 210 list($width, $height) = getimagesize($arrRet[$val]['filepath_dir']); 209 if(is_file($arrRet[$val]['real_filepath'])) { 210 list($width, $height) = getimagesize($arrRet[$val]['real_filepath']); 211 } 211 212 // ¥Õ¥¡¥¤¥ë²£Éý 212 213 $arrRet[$val]['width'] = $width;
Note: See TracChangeset
for help on using the changeset viewer.