[module.professor.pdf] Added extension '.pdf'

This commit is contained in:
xdrm-brackets 2018-03-21 15:07:50 +01:00
parent be1e5b0a4d
commit 8b33f401af
1 changed files with 1 additions and 1 deletions

View File

@ -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',