mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
fix: hack but saves editing the tcppdf files in vendor folder (#5343)
This commit is contained in:
committed by
Tony Murray
parent
a6c510226e
commit
bf64f93511
@@ -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';
|
||||
|
Reference in New Issue
Block a user