Commit 5d25dd62ddd369afc1436dd5b4ffd9a374a3a7cc
1 parent
969651cc
Exists in
master
and in
8 other branches
correct file path in get-cdf
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
src/DDSERVICES/REST/get_cdf.php
... | ... | @@ -33,7 +33,7 @@ function error($log_msg) { |
33 | 33 | global $inputFilePath, $log_path; |
34 | 34 | file_put_contents($log_path, date("Y-m-d H:i:s") . " with id='" . $_GET['id'] . "': $log_msg\n", FILE_APPEND); |
35 | 35 | // If the file can not be converted, return the NetCDF file. |
36 | - send_file('application/x-gzip', basename($inputFilePath)); | |
36 | + send_file('application/x-gzip', $inputFilePath); | |
37 | 37 | exit; |
38 | 38 | } |
39 | 39 | |
... | ... |