Lines Matching full:zip
42 $zip = new ZipLib;
44 elseif(file_exists(DOKU_PLUGIN.'plugin/inc/zip.lib.php')){//older dokuwiki version
45 require_once DOKU_PLUGIN.'plugin/inc/zip.lib.php';
46 $zip = new zip;
49 …ure the dependency Plugin Manager plugin is installed, and that plugin/inc/zip.lib.php or ZipLib.c…
56 $cachefile = "$conf[cachedir]/distribute/$p.zip";
58 $zip->add_dir($p);
60 $zip->add_file(file_get_contents(DOKU_PLUGIN.$p.'/'.$f),"$p/$f");
62 echo($zip->get_file());
64 file_put_contents($cachefile, $zip->get_file());
67 msg("Sorry, but zip file creation has failed.",-1);
71 header("Content-Disposition: filename=\"$p".'_'.date('Ymd',$lastupdate).".zip\"");