Skip to content

Commit

Permalink
require autoloader
Browse files Browse the repository at this point in the history
recent cleanup removed all the requires
  • Loading branch information
Klap-in committed Sep 15, 2023
1 parent f2422a5 commit 538b6b6
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion DokuPDF.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,11 @@

// phpcs:disable: PSR1.Methods.CamelCapsMethodName.NotCamelCaps

use Mpdf\Mpdf;
use dokuwiki\plugin\dw2pdf\DokuImageProcessorDecorator;
use Mpdf\Mpdf;
use Mpdf\MpdfException;

require_once __DIR__ . '/vendor/autoload.php';

/**
* Wrapper around the mpdf library class
Expand All @@ -21,6 +24,9 @@ class DokuPDF extends Mpdf
* @param string $pagesize
* @param string $orientation
* @param int $fontsize
*
* @throws MpdfException
* @throws Exception
*/
public function __construct($pagesize = 'A4', $orientation = 'portrait', $fontsize = 11, $docLang = 'en')
{
Expand Down

0 comments on commit 538b6b6

Please sign in to comment.