Skip to content

Commit

Permalink
Avoid using hardcoded tcpdf path
Browse files Browse the repository at this point in the history
Signed-off-by: Michal Čihař <michal@cihar.com>
  • Loading branch information
nijel committed Dec 6, 2016
1 parent e182ba9 commit e3641a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libraries/gis/GISVisualization.php
Expand Up @@ -468,7 +468,7 @@ public function toFileAsPdf($file_name)
{
$this->init();

include_once './libraries/tcpdf/tcpdf.php';
include_once TCPDF_INC;

// create pdf
$pdf = new TCPDF(
Expand Down

0 comments on commit e3641a3

Please sign in to comment.