diff --git a/public/sir.php b/public/sir.php index 3b0ff64..1d3240e 100644 --- a/public/sir.php +++ b/public/sir.php @@ -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\"");