From 0ef57e4a4c96ad7df37f3c8cb895098d3d8461ea Mon Sep 17 00:00:00 2001 From: Lucian Date: Tue, 10 Oct 2017 18:24:48 +0300 Subject: [PATCH] #1737: Uses Magento 2 class define. --- mpdf.php | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/mpdf.php b/mpdf.php index b98de988a..b70a70248 100644 --- a/mpdf.php +++ b/mpdf.php @@ -73,18 +73,6 @@ define("_JPGRAPH_PATH", _MPDF_PATH . 'jpgraph/'); } -if (!defined('_MPDF_TEMP_PATH')) { - define("_MPDF_TEMP_PATH", _MPDF_PATH . 'tmp/'); -} - -if (!defined('_MPDF_TTFONTPATH')) { - define('_MPDF_TTFONTPATH', _MPDF_PATH . 'ttfonts/'); -} - -if (!defined('_MPDF_TTFONTDATAPATH')) { - define('_MPDF_TTFONTDATAPATH', _MPDF_PATH . 'ttfontdata/'); -} - $errorlevel = error_reporting(); $errorlevel = error_reporting($errorlevel & ~E_NOTICE);