Changeset 14583 for branches/dev


Ignore:
Timestamp:
2007/06/11 19:18:04 (16 years ago)
Author:
uehara
Message:
 
File:
1 edited

Legend:

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

    r14518 r14583  
    356356     * @param string $dst_path ¥³¥Ô¡¼Àè¥Õ¥¡¥¤¥ë¥Ñ¥¹(ÁêÂХѥ¹) 
    357357     * @param string $src_path ¥³¥Ô¡¼¸µ¥Õ¥¡¥¤¥ë¥Ñ¥¹(ÀäÂХѥ¹) 
     358     * @param boolean $del_flag °ÜÆ°¥Õ¥¡¥¤¥ë¤òºï½ü¤¹¤ë¥Õ¥é¥° 
    358359     * @return void 
    359360     */ 
    360     function ftpMoveFile($dst_path, $src_path) { 
     361    function ftpMoveFile($dst_path, $src_path, $del_flag = false) { 
    361362        global $arrWEB_SERVERS; 
    362363 
     
    366367        } 
    367368        // °ÜÆ°¸å¤Ï¥Õ¥¡¥¤¥ë¤òºï½ü 
    368         @unlink($src_path); 
     369        if($del_flag) { 
     370            @unlink($src_path); 
     371        } 
    369372    } 
    370373 
Note: See TracChangeset for help on using the changeset viewer.