Permalink
Browse files

IP-455 - Fixes broken Zugferd implementation

  • Loading branch information...
1 parent 58c1757 commit b8d47d734166ace45e532ae4cc894264166f2f5a @Kovah Kovah committed Oct 31, 2016
Showing with 9 additions and 3 deletions.
  1. +1 −1 application/helpers/mpdf_helper.php
  2. +8 −2 composer.json
@@ -27,7 +27,7 @@ function pdf_create($html, $filename, $stream = true, $password = null, $isInvoi
define('_MPDF_TEMP_PATH', 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 configuration
View
@@ -1,6 +1,12 @@
{
+ "repositories": [
+ {
+ "type": "vcs",
+ "url": "https://github.com/kovah/mpdf"
+ }
+ ],
"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.