Changeset 17069 for branches


Ignore:
Timestamp:
2008/02/22 18:30:40 (14 years ago)
Author:
satou
Message:
 
File:
1 edited

Legend:

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

    r17045 r17069  
    4242    // ファイル管理クラス 
    4343    function SC_UploadFile($temp_dir, $save_dir) { 
    44         $this->temp_dir = $temp_dir; 
    45         $this->save_dir = $save_dir; 
     44        $this->temp_dir = (preg_match("|/$|", $temp_dir) == 0) ? $temp_dir. "/" : $temp_dir; 
     45        $this->save_dir = (preg_match("|/$|", $save_dir) == 0) ? $save_dir. "/" : $save_dir; 
    4646        $this->file_max = 0; 
     47        echo $this->temp_dir; 
     48        echo "<br>".$this->save_dir; 
    4749    } 
    4850 
Note: See TracChangeset for help on using the changeset viewer.