Skip to content

Commit 0bffd45

Browse files
committed
Fix Fpdf example
1 parent a82b0c4 commit 0bffd45

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

Diff for: .gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,4 @@
44
/.php_cs.cache
55
/example/TcPdfOutput/tcpdf_example.pdf
66
/example/HtmlOutput/html-example.htm
7+
/example/FpdfOutput/fpdf_example.pdf

Diff for: example/FpdfOutput/fpdf-example.php

-5
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,4 @@
2121
$examplePath = __DIR__ . "/fpdf_example.pdf";
2222
$fpdf->Output($examplePath, 'F');
2323

24-
if (file_exists(dirname(__DIR__) . '/qr.svg')) {
25-
unlink(dirname(__DIR__) . '/qr.svg');
26-
unlink(dirname(__DIR__) . '/qr.png');
27-
}
28-
2924
print "PDF example created here : " . $examplePath;

0 commit comments

Comments
 (0)