Ignore:
Timestamp:
2006/12/07 20:42:35 (20 years ago)
Author:
uehara
Message:
 
File:
1 edited

Legend:

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

    r10428 r10433  
    330330    // ¥Õ¥¡¥¤¥ë¤Î°µ½Ì 
    331331    $tar = new Archive_Tar($dl_file, TRUE); 
     332    // ¥Õ¥¡¥¤¥ë¥ê¥¹¥È¼èÆÀ 
     333    $arrFile = sfGetFileList(USER_TEMPLATE_PATH.$template_code);     
     334     
    332335    //bkup¥Õ¥©¥ë¥À¤Ë°Üư¤¹¤ë 
    333     chdir(USER_TEMPLATE_PATH); 
     336    chdir(USER_TEMPLATE_PATH.$template_code); 
    334337    //°µ½Ì¤ò¤ª¤³¤Ê¤¦ 
    335     $zip = $tar->create("./" . $template_code . "/"); 
     338    $zip = $tar->create($arrFile); 
    336339         
    337340    // ¥À¥¦¥ó¥í¡¼¥É³«»Ï 
Note: See TracChangeset for help on using the changeset viewer.