/WebSVN/dl.php/dl.php |
---|
62,14 → 62,10 |
$svnrep->exportDirectory($path, $tmpname.DIRECTORY_SEPARATOR.$arcname, $rev); |
// Create the tar file |
// ZIP it up |
chdir($tmpname); |
//!!!KAKL exec($config->tar." -cf ".quote("$arcname.tar")." ".quote($arcname)); |
exec("zip -r ".quote("$arcname")." ."); |
// ZIP it up |
//!!!KAKL exec($config->gzip." ".quote("$arcname.tar")); |
//!!!KAKL $size = filesize("$arcname.tar.gz"); |
$size = filesize("$arcname.zip"); |
// Give the file to the browser |