Merge pull request #3342 from Icinga/bugfix/pdf-export-broken-3338

Pdf: correct DOMPDF directory
This commit is contained in:
lippserd 2018-02-21 09:25:06 +01:00 committed by GitHub
commit 133da1ef91
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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";