Changeset 8713 for temp/trunk


Ignore:
Timestamp:
2006/11/21 10:40:35 (20 years ago)
Author:
uehara
Message:

blank

Location:
temp/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • temp/trunk/data/class/SC_CheckError.php

    r8707 r8713  
    464464    // value[0] = ¹àÌÜ̾ value[1] = ȽÄêÂÐ¾Ý value[2]=array(³ÈÄ¥»Ò)  
    465465    function FILE_EXT_CHECK( $value ) {         // ¼õ¤±¼è¤ê¤¬¤Ê¤¤¾ì¹ç¥¨¥é¡¼¤òÊÖ¤¹ 
    466         if(isset($this->arrErr[$value[1]]) || count($this->arrErr[$value[2]]) == 1) { 
     466        if(isset($this->arrErr[$value[1]]) || count($this->arrErr[$value[2]]) == 0) { 
    467467            return; 
    468468        } 
  • temp/trunk/html/test/uehara/tree.php

    r8712 r8713  
    2525    $now_dir = $top_dir; 
    2626} 
    27 sfprintr($_FILES); 
     27 
    2828// ¥Õ¥¡¥¤¥ë´ÉÍý¥¯¥é¥¹ 
    2929$objUpFile = new SC_UploadFile(IMAGE_TEMP_DIR, $now_dir); 
     
    8787// ¥Õ¥¡¥¤¥ë¥¢¥Ã¥×¥í¡¼¥É 
    8888case 'upload': 
    89  
    90     // ¥Õ¥¡¥¤¥ë¸ºß¥Á¥§¥Ã¥¯ 
    91     $arrErr = (array)$objUpFile->checkEXISTS($_POST['upload_file']); 
    92 sfprintr($arrErr); 
     89sfprintr($_FILES); 
    9390    // ²èÁüÊݸ½èÍý 
    94     $arrErr[$_POST['upload_file']] = $objUpFile->makeTempFile($_POST['upload_file']); 
     91    $arrErr['upload_file'] = $objUpFile->makeTempFile('upload_file'); 
    9592sfprintr($arrErr); 
    9693    break; 
Note: See TracChangeset for help on using the changeset viewer.