[module.professor.pdf] Added extension '.pdf'
This commit is contained in:
parent
be1e5b0a4d
commit
8b33f401af
|
@ -148,7 +148,7 @@ class pdfController{
|
|||
$headers = [
|
||||
// 'Content-Description' => 'File Transfer',
|
||||
'Content-Transfer-Encoding' => 'binary',
|
||||
'Content-Disposition' => 'attachment; filename=\"'.$title.'\"',
|
||||
'Content-Disposition' => 'attachment; filename=\"'.$title.'\.pdf"',
|
||||
'Cache-Control' => 'public, must-revalidate, max-age=0',
|
||||
'Pragma' => 'public',
|
||||
'X-Generator' => 'mPDF',
|
||||
|
|
Loading…
Reference in New Issue