Skip to content

Commit

Permalink
Remove useless env var
Browse files Browse the repository at this point in the history
  • Loading branch information
lvps committed Apr 26, 2024
1 parent d085bd2 commit ca3b937
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion public/sir.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
'[CDL]' => $attributes['degreecourse'],
];

$sir = new Sir(CRAUTO_SIR_TMP_DIR);
$sir = new Sir(__DIR__ . '/../resources/pdftemplates');
$pdf = $sir->getSir($targetUid, $replace);
header('Content-type: application/pdf');
header("Content-Disposition: attachment; filename=\"sir-$targetUid.pdf\"");
Expand Down

0 comments on commit ca3b937

Please sign in to comment.