aboutsummaryrefslogtreecommitdiffhomepage
path: root/inc/3rdparty/libraries/mpdf/examples/example49_changelog.php
diff options
context:
space:
mode:
authortcitworld <tcit@tcit.fr>2014-08-04 21:34:44 +0200
committertcitworld <tcit@tcit.fr>2014-08-04 21:34:44 +0200
commitb83690ebd873abc29a3f365b0cc69125eb6021a1 (patch)
tree62f2b59a6a14d96ccde65db94e43747ae62bf43a /inc/3rdparty/libraries/mpdf/examples/example49_changelog.php
parent358c689cec917c173ee080777a8dc51603a3979c (diff)
downloadwallabag-b83690ebd873abc29a3f365b0cc69125eb6021a1.tar.gz
wallabag-b83690ebd873abc29a3f365b0cc69125eb6021a1.tar.zst
wallabag-b83690ebd873abc29a3f365b0cc69125eb6021a1.zip
removing examples for mpdf
Diffstat (limited to 'inc/3rdparty/libraries/mpdf/examples/example49_changelog.php')
-rw-r--r--inc/3rdparty/libraries/mpdf/examples/example49_changelog.php41
1 files changed, 0 insertions, 41 deletions
diff --git a/inc/3rdparty/libraries/mpdf/examples/example49_changelog.php b/inc/3rdparty/libraries/mpdf/examples/example49_changelog.php
deleted file mode 100644
index 279979db..00000000
--- a/inc/3rdparty/libraries/mpdf/examples/example49_changelog.php
+++ /dev/null
@@ -1,41 +0,0 @@
1<?php
2ini_set("memory_limit","384M");
3
4// This is because changelog.txt contains over 100000 characters, and preg_* functions in mPDF won't work.
5ini_set("pcre.backtrack_limit","200000");
6
7include("../mpdf.php");
8
9$mpdf=new mPDF();
10
11$mpdf->tabSpaces = 6;
12
13$mpdf->allow_charset_conversion=true;
14$mpdf->charset_in='windows-1252';
15
16
17//==============================================================
18
19$html = '
20<h1>mPDF</h1>
21<h2>ChangeLog</h2>
22<div style="border:1px solid #555555; background-color: #DDDDDD; padding: 1em; font-size:8pt; font-family: lucidaconsole, mono;">
23';
24$lines = file('../CHANGELOG.txt');
25
26$html .= '<pre>';
27foreach($lines AS $line) {
28 $html .= htmlspecialchars($line);
29}
30$html .= '</pre>';
31$html .= '</div>';
32
33//==============================================================
34
35$mpdf->WriteHTML($html);
36
37$mpdf->Output();
38exit;
39
40
41?> \ No newline at end of file