Skip to content

Commit 61bd9a1

Browse files
gzip the downloaded files
1 parent e8d78da commit 61bd9a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

omim/omim.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ function Run()
101101
$total = count($entries);
102102
foreach($entries AS $omim_id => $type) {
103103
echo "processing ".(++$i)." of $total - omim# ";
104-
$download_file = $ldir.$omim_id.".json";
104+
$download_file = "compress.zlib://".$ldir.$omim_id.".json.gz";
105105
// download if the file doesn't exist or we are told to
106106
if(!file_exists($download_file) || parent::getParameterValue('download') == true) {
107107
// download using the api

0 commit comments

Comments
 (0)