3
$url = ADEI::GetBaseURL();
5
$f = fopen("$url/setups/katrin/services/adei.fcgi?" . $_SERVER['QUERY_STRING'], "rb");
7
$name = "{$_GET['kdb_run']}.{$_GET['kdb_name']}";
8
header("Cache-Control: no-cache, must-revalidate");
9
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
10
header("Content-type: application/octet-stream");
11
header("Content-Disposition: attachment; filename=\"$name\"");
14
$data = fread($f, 65536);
19
throw new ADEIException(translate("Failed to open adei.fcgi service"));
b'\\ No newline at end of file'