Changeset 17045 for branches


Ignore:
Timestamp:
2008/02/14 10:22:53 (15 years ago)
Author:
satou
Message:

#208 一時保存ディレクトリ名にスラッシュを多くつけてしまう不具合を改修。

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2/data/class/SC_UploadFile.php

    r16953 r17045  
    108108                                $this->temp_file[$cnt] = $_FILES[$keyname]['name']; 
    109109                            } 
    110                             $result  = copy($_FILES[$keyname]['tmp_name'], $this->temp_dir. "/". $this->temp_file[$cnt]); 
    111                             GC_Utils_Ex::gfPrintLog($_FILES[$keyname]['name']." -> ".$this->temp_dir. "/". $this->temp_file[$cnt]); 
     110                            $result  = copy($_FILES[$keyname]['tmp_name'], $this->temp_dir . $this->temp_file[$cnt]); 
     111                            GC_Utils_Ex::gfPrintLog($_FILES[$keyname]['name']." -> ". $this->temp_dir . $this->temp_file[$cnt]); 
    112112                        } 
    113113                    } 
     
    143143            if ($val == $keyname) { 
    144144                if($this->temp_file[$cnt] != "") { 
    145                     $filepath = $this->temp_dir . "/" . $this->temp_file[$cnt]; 
     145                    $filepath = $this->temp_dir . $this->temp_file[$cnt]; 
    146146                } 
    147147            } 
Note: See TracChangeset for help on using the changeset viewer.