Changeset 10354 for temp/trunk/html


Ignore:
Timestamp:
2006/12/06 14:55:21 (20 years ago)
Author:
uehara
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • temp/trunk/html/admin/design/upload.php

    r10353 r10354  
    2929 
    3030// ¥Õ¥¡¥¤¥ë´ÉÍý¥¯¥é¥¹ 
    31 $objUpFile = new SC_UploadFile(IMAGE_TEMP_DIR, IMAGE_SAVE_DIR); 
     31$objUpFile = new SC_UploadFile(USER_TEMPLATE_PATH, USER_TEMPLATE_PATH); 
    3232// ¥Õ¥¡¥¤¥ë¾ðÊó¤Î½é´ü²½ 
    3333lfInitFile(); 
     
    4646    if($ret != "") { 
    4747        $objPage->arrErr['template_file'] = $ret; 
    48     } else { 
     48    } else if(count($objPage->arrErr) <= 0) { 
    4949        $objPage->tpl_onload = "alert('¥Æ¥ó¥×¥ì¡¼¥È¥Õ¥¡¥¤¥ë¤ò¥¢¥Ã¥×¥í¡¼¥É¤·¤Þ¤·¤¿¡£');"; 
    50     } 
    51     // ¥¨¥é¡¼¤¬Ìµ¤«¤Ã¤¿¤é 
    52     if(count($objPage->arrErr) > 0) { 
    5350    } 
    5451    break; 
Note: See TracChangeset for help on using the changeset viewer.