From cf4af5180aa082308cedb3f4b321e8fdd8ab0e6c Mon Sep 17 00:00:00 2001 From: "Alexander A. Klimov" Date: Mon, 5 Feb 2018 17:56:42 +0100 Subject: [PATCH] Pdf: correct DOMPDF directory refs #3338 --- library/Icinga/File/Pdf.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/Icinga/File/Pdf.php b/library/Icinga/File/Pdf.php index bdeed5377..e677a65dd 100644 --- a/library/Icinga/File/Pdf.php +++ b/library/Icinga/File/Pdf.php @@ -20,7 +20,7 @@ call_user_func(function () { * @license http://www.gnu.org/copyleft/lesser.html GNU Lesser General Public License */ - $baseDir = __DIR__ . '/../../vendor/dompdf'; + $baseDir = Icinga::app()->getBaseDir('library/vendor/dompdf'); require_once "$baseDir/lib/html5lib/Parser.php"; require_once "$baseDir/lib/php-font-lib/src/FontLib/Autoloader.php";