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

Legend:

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

    r10435 r10436  
    331331    // ¥Õ¥¡¥¤¥ë¤Î°µ½Ì 
    332332    $tar = new Archive_Tar($dl_file, TRUE); 
    333     // ¥Õ¥¡¥¤¥ë¥ê¥¹¥È¼èÆÀ 
    334     $arrFile = sfGetFileList(USER_TEMPLATE_PATH.$template_code);     
    335      
    336333    //bkup¥Õ¥©¥ë¥À¤Ë°Üư¤¹¤ë 
    337     chdir(USER_TEMPLATE_PATH.$template_code); 
     334    chdir(USER_TEMPLATE_PATH); 
    338335    //°µ½Ì¤ò¤ª¤³¤Ê¤¦ 
    339     $zip = $tar->create($arrFile); 
     336    $zip = $tar->createModify("./" . $template_code . "/", "", $template_code); 
    340337         
    341338    // ¥À¥¦¥ó¥í¡¼¥É³«»Ï 
Note: See TracChangeset for help on using the changeset viewer.