2 require_once("Obj/brisk.phh");
6 GLOBAL $G_doc_path, $_GET;
8 if (! isset($_GET['doc'])) {
12 $fname = sprintf("%s%s.pdf", $G_doc_path, basename($_GET['doc']));
13 if (! file_exists($fname)) {
17 header("Content-Type: application/octet-stream");
18 header(sprintf("Content-Disposition: attachment; filename=brisk_%s", basename($fname)));