pnp4nagios/debian/patches/fix-path-fpdi

16 lines
530 B
Plaintext
Raw Normal View History

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() {