Skip to content

Commit

Permalink
IP-455 - Fixes broken Zugferd implementation
Browse files Browse the repository at this point in the history
  • Loading branch information
Kovah committed Oct 31, 2016
1 parent 58c1757 commit b8d47d7
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
2 changes: 1 addition & 1 deletion application/helpers/mpdf_helper.php
Expand Up @@ -27,7 +27,7 @@ function pdf_create($html, $filename, $stream = true, $password = null, $isInvoi
define('_MPDF_TEMP_PATH', FCPATH . 'uploads/temp/mpdf/'); define('_MPDF_TEMP_PATH', FCPATH . 'uploads/temp/mpdf/');
define('_MPDF_TTFONTDATAPATH', FCPATH . 'uploads/temp/mpdf/'); define('_MPDF_TTFONTDATAPATH', FCPATH . 'uploads/temp/mpdf/');


require_once(FCPATH . 'vendor/mpdf/mpdf/mpdf.php'); require_once(FCPATH . 'vendor/kovah/mpdf/mpdf.php');
$mpdf = new mPDF(); $mpdf = new mPDF();


// mPDF configuration // mPDF configuration
Expand Down
10 changes: 8 additions & 2 deletions composer.json
@@ -1,6 +1,12 @@
{ {
"repositories": [
{
"type": "vcs",
"url": "https://github.com/kovah/mpdf"
}
],
"require": { "require": {
"mpdf/mpdf": "6.1.2", "phpmailer/phpmailer": "^5.2",
"phpmailer/phpmailer": "^5.2" "kovah/mpdf": "dev-master"
} }
} }

0 comments on commit b8d47d7

Please sign in to comment.