fix: hack but saves editing the tcppdf files in vendor folder (#5343)

This commit is contained in:
Neil Lathwood
2017-01-08 19:07:16 +00:00
committed by Tony Murray
parent a6c510226e
commit bf64f93511

View File

@@ -48,7 +48,7 @@ $pdf->setTextShadow(array('enabled' => false, 'depth_w' => 0.2, 'depth_h' => 0.2
if (isset($_GET['report']) && !empty($_GET['report'])) {
$report = mres($_GET['report']);
$pdf->SetHeaderData('../../'.$config['title_image'], 40, ucfirst($report), $config['project_name'], array(0, 0, 0), array(0, 64, 128));
$pdf->SetHeaderData('../../../../../html/'.$config['title_image'], 40, ucfirst($report), $config['project_name'], array(0, 0, 0), array(0, 64, 128));
include_once "includes/reports/$report.pdf.inc.php";
} else {
$report = 'report';