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

Legend:

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

    r10436 r10438  
    331331    // ¥Õ¥¡¥¤¥ë¤Î°µ½Ì 
    332332    $tar = new Archive_Tar($dl_file, TRUE); 
    333     //bkup¥Õ¥©¥ë¥À¤Ë°Üư¤¹¤ë 
    334     chdir(USER_TEMPLATE_PATH); 
     333    // ¥Õ¥¡¥¤¥ë°ìÍ÷¼èÆÀ 
     334    $arrFileHash = sfGetFileList(USER_TEMPLATE_PATH.$template_code); 
     335    foreach($arrFileHash as $val) { 
     336        $arrFileList[] = $val['file_path']; 
     337    } 
     338     
    335339    //°µ½Ì¤ò¤ª¤³¤Ê¤¦ 
    336     $zip = $tar->createModify("./" . $template_code . "/", "", $template_code); 
     340    $zip = $tar->create($arrFileList); 
    337341         
    338342    // ¥À¥¦¥ó¥í¡¼¥É³«»Ï 
Note: See TracChangeset for help on using the changeset viewer.