Fehlerkorrekturen nach LIVE-Gang

This commit is contained in:
2016-07-09 09:05:09 +00:00
parent 19a604f024
commit 84167781ec
10 changed files with 10 additions and 10 deletions

View File

@@ -3,4 +3,4 @@
include "variablen.php";
include "konstanten.php";
include __DIR__ . "/../config/content_de.php";
require_once('tcpdf/tcpdf.php');
require_once(__DIR__ . '/tcpdf/tcpdf.php');

View File

@@ -8,7 +8,7 @@ else
{
$text = $var;
$var = $_SESSION['Firma']['Gruss'];
include __DIR__ . "../pdf/replace_gruss.php";
include __DIR__ . "/../pdf/replace_gruss.php";
$text .= $var;
$text .= "\n" . $_SESSION['Firma']['Email_Signatur'];
echo "<form action=\"index.php?section=mail\" method=\"post\">\n";

View File

@@ -252,5 +252,5 @@ $pdf->SetFont('Helvetica','', 10);
$pdf->Cell(25, 4, number_format($ntsum['Gesamt'], '2', ',', '.')." €", 0, 0, 'R');
*/
$file = "pdf/" . PREFIX . "/eur/A_" . date('Ymd') . ".pdf";
$file = __DIR__ . "/" . PREFIX . "/eur/A_" . date('Ymd') . ".pdf";
$pdf->Output($file, "F");

View File

@@ -166,5 +166,5 @@ if (0 != $Sonst_Preis)
$pdf->Write(4, "\n");
}
$file = "pdf/" . PREFIX . "/eur/A_" . date('Ymd') . ".pdf";
$file = __DIR__ . "/" . PREFIX . "/eur/A_" . date('Ymd') . ".pdf";
$pdf->Output($file, "F");

View File

@@ -156,5 +156,5 @@ $pdf->SetFont('Helvetica', '', 10);
$pdf->Cell(25, 4, number_format($ntsum['Gesamt'], '2', ',', '.') . "", 0, 0, 'R');
$file = "pdf/" . PREFIX . "/eur/E_" . date('Ymd') . ".pdf";
$file = __DIR__ . "/" . PREFIX . "/eur/E_" . date('Ymd') . ".pdf";
$pdf->Output($file, "F");

View File

@@ -154,5 +154,5 @@ $pdf->SetFont('Helvetica', '', 10);
$pdf->Cell(25, 4, number_format($ntsum['Gesamt'], '2', ',', '.') . "", 0, 0, 'R');
$file = "pdf/" . PREFIX . "/eur/E_" . date('Ymd') . ".pdf";
$file = __DIR__ . "/" . PREFIX . "/eur/E_" . date('Ymd') . ".pdf";
$pdf->Output($file, "F");

View File

@@ -117,7 +117,7 @@ $pdf->Write(6, "\n");
$pdf->Cell(100, 4, "Datum, Unterschrift");
$file = "pdf/" . PREFIX . "/kontakt/K_" . $nt['ID'] . ".pdf";
$file = __DIR__ . "/" . PREFIX . "/kontakt/K_" . $nt['ID'] . ".pdf";
$pdf->Output($file, "F");
$var = $nttext['EMail'];

View File

@@ -128,5 +128,5 @@ $pdf->SetX(130);
$pdf->Cell(70, 10, number_format($ntsum['Preis'] - $GesamtTeil, '2', ',', '.') . "", 0, 0, 'R');
$file = "pdf/" . PREFIX . "/oposten/O_" . date('Ymd') . ".pdf";
$file = __DIR__ . "/" . PREFIX . "/oposten/O_" . date('Ymd') . ".pdf";
$pdf->Output($file, "F");

View File

@@ -77,7 +77,7 @@ include __DIR__ . "/replace_gruss.php";
$pdf->SetFont('Helvetica', '', 10);
$pdf->Write(4, "\n" . $var);
$file = "pdf/" . PREFIX . "/schrift/S_" . $nt['File_Name'] . ".pdf";
$file = __DIR__ . "/" . PREFIX . "/schrift/S_" . $nt['File_Name'] . ".pdf";
$pdf->Output($file, "F");
$var = $nttext['EMail'];

View File

@@ -274,5 +274,5 @@ elseif ("offen" == $_POST['Suche'])
}
}
$file = "pdf/" . PREFIX . "/tracking/T_" . date('Ymd') . ".pdf";
$file = __DIR__ . "/" . PREFIX . "/tracking/T_" . date('Ymd') . ".pdf";
$pdf->Output($file, "F");