Changeset 10376
- Timestamp:
- 2006/12/06 17:22:32 (20 years ago)
- File:
-
- 1 edited
-
temp/trunk/html/admin/design/upload.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
temp/trunk/html/admin/design/upload.php
r10375 r10376 30 30 sfIsSuccess($objSess); 31 31 32 // ¥¢¥Ã¥×¥í¡¼¥É¤·¤¿¥Õ¥¡¥¤¥ë¤ò¥Õ¥©¥ë¥À 33 $new_file_dir = USER_TEMPLATE_PATH.$_POST['template_code']; 34 32 35 // ¥Õ¥¡¥¤¥ë´ÉÍý¥¯¥é¥¹ 33 $objUpFile = new SC_UploadFile(TEMPLATE_TEMP_DIR, USER_TEMPLATE_PATH.$_POST['template_code']);36 $objUpFile = new SC_UploadFile(TEMPLATE_TEMP_DIR, $new_file_dir); 34 37 // ¥Õ¥¡¥¤¥ë¾ðÊó¤Î½é´ü²½ 35 38 lfInitFile(); … … 52 55 } else if(count($objPage->arrErr) <= 0) { 53 56 // ¥Õ¥©¥ë¥ÀºîÀ® 54 $ret = @mkdir( USER_TEMPLATE_PATH.$arrRet['template_code']);57 $ret = @mkdir($new_file_dir); 55 58 // °ì»þ¥Õ¥©¥ë¥À¤«¤éÊݸ¥Ç¥£¥ì¥¯¥È¥ê¤Ø°Üư 56 59 $objUpFile->moveTempFile(); 57 60 // ²òÅà 58 lfUnpacking($ _FILES['template_file']['name'], "./");61 lfUnpacking($new_file_dir.$_FILES['template_file']['name'], "./"); 59 62 // DB¤ËÊݸ 60 63 lfRegistTemplate($arrRet);
Note: See TracChangeset
for help on using the changeset viewer.
