pnp4nagios/debian/patches/fix-path-fpdi
2017-05-20 15:26:22 +02:00

16 lines
530 B
Plaintext

Description: FPDI is shipped in its own subdirectory -- adopt path in pdf.php.
Author: Sven Velt <sven@velt.de>
Forwarded: not-needed
--- a/share/pnp/application/controllers/pdf.php
+++ b/share/pnp/application/controllers/pdf.php
@@ -268,7 +268,7 @@ class Pdf_Controller extends System_Cont
*
*/
require Kohana::find_file('vendor/fpdf', 'fpdf');
-require Kohana::find_file('vendor/fpdf', 'fpdi');
+require Kohana::find_file('vendor/fpdi', 'fpdi');
class PDF extends FPDI {
//Page header
function Header() {