Changeset 10359 for temp/trunk


Ignore:
Timestamp:
2006/12/06 15:19:49 (20 years ago)
Author:
uehara
Message:
 
File:
1 edited

Legend:

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

    r10354 r10359  
    2929 
    3030// ¥Õ¥¡¥¤¥ë´ÉÍý¥¯¥é¥¹ 
    31 $objUpFile = new SC_UploadFile(USER_TEMPLATE_PATH, USER_TEMPLATE_PATH); 
     31$objUpFile = new SC_UploadFile(USER_TEMPLATE_PATH.$_POST['template_code'], USER_TEMPLATE_PATH); 
    3232// ¥Õ¥¡¥¤¥ë¾ðÊó¤Î½é´ü²½ 
    3333lfInitFile(); 
     
    4242    $objPage->arrErr = lfErrorCheck(); 
    4343 
     44    mkdir ("/path/to/my/dir", 0700); 
     45     
    4446    // ¥Õ¥¡¥¤¥ë¤òÊݸ 
    4547    $ret = $objUpFile->makeTempFile('template_file', false); 
Note: See TracChangeset for help on using the changeset viewer.