Skip to content

Commit c48855f

Browse files
author
Tony McCormick
authored
Move HTML2PDF to modules directory (LibreHealthIO#396)
* Move HTML2PDF to modules directory
1 parent 554d5c9 commit c48855f

File tree

268 files changed

+19
-60628
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

268 files changed

+19
-60628
lines changed

contrib/util/language_translations/filterDirectories.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@ libreehr/Documentation
22
libreehr/contrib/forms
33
libreehr/.git
44
libreehr/contrib/icd10
5-
libreehr/library/html2pdf/vendor/tecnickcom/tcpdf/fonts
5+
libreehr/modules/html2pdf/vendor/tecnickcom/tcpdf/fonts
66
libreehr/phpmyadmin/libraries/tcpdf/fonts

interface/patient_file/report/custom_report.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
$PDF_OUTPUT = empty($_POST['pdf']) ? 0 : intval($_POST['pdf']);
4747

4848
if ($PDF_OUTPUT) {
49-
require_once("$srcdir/html2pdf/vendor/autoload.php");
49+
require_once($GLOBALS['modules_dir'] . "/html2pdf/vendor/autoload.php");
5050
$pdf = new HTML2PDF ($GLOBALS['pdf_layout'],
5151
$GLOBALS['pdf_size'],
5252
$GLOBALS['pdf_language'],

library/html2pdf/vendor/tecnickcom/tcpdf/fonts/ae_fonts_2.0/COPYING

-343
This file was deleted.

0 commit comments

Comments
 (0)