16 include_once (
"Lib.Http.php");
17 include_once (
"FDL/Class.Doc.php");
22 $docid = GetHttpVars(
"id");
26 $name = basename($pdffile);
29 $errtext = sprintf(_(
"file for %s not found.") ,
$docid);
30 $action->ExitError($errtext);
40 if (
$doc->isAlive()) {
44 if (file_exists($pdffile)) {
family_help(Action &$action)
getFamilyHelpFile(Action &$action, $docid)
getFamIdFromName($dbaccess, $name)
new_Doc($dbaccess, $id= '', $latest=false)
Http_DownloadFile($filename, $name, $mime_type= '', $inline=false, $cache=true, $deleteafter=false)