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