Anpassungen zur Erstellung von Verzeichnissen in der PDF Generierung
This commit is contained in:
@@ -122,6 +122,10 @@ include __DIR__ . "/replace_bi.php";
|
||||
$pdf->SetFont('Helvetica', '', 10);
|
||||
$pdf->Write(4, "\n" . $var);
|
||||
|
||||
if(!is_dir(__DIR__ . "/" . PREFIX . "/lv"))
|
||||
{
|
||||
mkdir(__DIR__ . "/" . PREFIX . "/lv", 0777, true);
|
||||
}
|
||||
$file = __DIR__ . "/" . PREFIX . "/lv/LV_" . $nt['Jahr'] . "_" . $nt['ID'] . ".pdf";
|
||||
$pdf->Output($file, "F");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user