Ignore:
Timestamp:
2007/03/28 15:05:09 (17 years ago)
Author:
uehara
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/comu/data/class/SC_UploadFile.php

    r11730 r11984  
    195195                    $arrRet[$val]['filepath'] = $temp_url . "/" . $this->temp_file[$cnt]; 
    196196                } 
    197                 $arrRet[$val]['filepath_dir'] = $this->temp_dir . $this->temp_file[$cnt]; 
     197                $arrRet[$val]['real_filepath'] = $this->temp_dir . $this->temp_file[$cnt]; 
    198198            } elseif ($this->save_file[$cnt] != "") { 
    199199                // ¥Õ¥¡¥¤¥ë¥Ñ¥¹¥Á¥§¥Ã¥¯(¥Ñ¥¹¤Î¥¹¥é¥Ã¥·¥å/¤¬Ï¢Â³¤·¤Ê¤¤¤è¤¦¤Ë¤¹¤ë¡£) 
     
    203203                    $arrRet[$val]['filepath'] = $save_url . "/" . $this->save_file[$cnt]; 
    204204                } 
    205                 $arrRet[$val]['filepath_dir'] = $this->save_dir . $this->save_file[$cnt]; 
     205                $arrRet[$val]['real_filepath'] = $this->save_dir . $this->save_file[$cnt]; 
    206206            } 
    207207            if($arrRet[$val]['filepath'] != "") { 
    208                  
    209208                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                    } 
    211212                    // ¥Õ¥¡¥¤¥ë²£Éý 
    212213                    $arrRet[$val]['width'] = $width; 
Note: See TracChangeset for help on using the changeset viewer.