mirror of
https://github.com/Combodo/iTop.git
synced 2026-05-03 15:38:44 +02:00
N°7059 - Symfony 6.4 - Application skeleton - sources registration
- PDFPage constructor define impact
This commit is contained in:
@@ -35,7 +35,9 @@ class PDFPage extends WebPage
|
||||
{
|
||||
$oKpi = new ExecutionKPI();
|
||||
parent::__construct($s_title);
|
||||
define('K_PATH_FONTS', APPROOT.'lib/combodo/tcpdf/fonts/');
|
||||
if (!defined('K_PATH_FONTS')){
|
||||
define('K_PATH_FONTS', APPROOT.'lib/combodo/tcpdf/fonts/');
|
||||
}
|
||||
$this->oPdf = new iTopPDF($sPageOrientation, 'mm', $sPageFormat, true, self::PAGES_CHARSET, false);
|
||||
|
||||
// set document information
|
||||
|
||||
Reference in New Issue
Block a user