diff options
author | Sashi20 | 2020-03-20 12:48:53 +0530 |
---|---|---|
committer | Sashi20 | 2020-03-20 12:48:53 +0530 |
commit | 00a56d9c9f3e99e6d86506943449b43af69713df (patch) | |
tree | 2b89217db9f524c59f2602a3d94ebd6edfe14b8d | |
parent | 6407cb493bd37603fc8ff360427a9488e66ffca8 (diff) | |
download | om_pssp-00a56d9c9f3e99e6d86506943449b43af69713df.tar.gz om_pssp-00a56d9c9f3e99e6d86506943449b43af69713df.tar.bz2 om_pssp-00a56d9c9f3e99e6d86506943449b43af69713df.zip |
Modify the downloadable file name
-rwxr-xr-x | pdf/mentor_cert_pdf.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pdf/mentor_cert_pdf.inc b/pdf/mentor_cert_pdf.inc index 7f63658..19945e6 100755 --- a/pdf/mentor_cert_pdf.inc +++ b/pdf/mentor_cert_pdf.inc @@ -111,7 +111,7 @@ function generate_pdf() $pdf->SetY(-65); $pdf->Ln(13); $pdf->Image($pngAbsoluteFilePath, $pdf->GetX() + 75, $pdf->GetY(), 30, 0); - $filename = str_replace(' ', '-', $data3->contributor_name) . '-DWSIM-Flowsheet-Certificate.pdf'; + $filename = str_replace(' ', '-', $data3->project_guide_name) . '-OpenModelica-PSSP-Mentor-Certificate.pdf'; $file = $path . '/pdf/temp_certificate/' . $proposal_id . '_' . $filename; $pdf->Output($file, 'F'); header("Content-Type: application/octet-stream"); |