From b44428eb823cce2dfde905bfd42a49ec1cf47b89 Mon Sep 17 00:00:00 2001 From: cajus Date: Thu, 17 Sep 2009 13:45:32 +0000 Subject: [PATCH] Updated exporter class git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@14270 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/include/exporter/class_pdfExporter.inc | 12 ++++++------ gosa-core/include/php_setup.inc | 3 +++ 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/gosa-core/include/exporter/class_pdfExporter.inc b/gosa-core/include/exporter/class_pdfExporter.inc index 93b1127e8..f1c5f8918 100644 --- a/gosa-core/include/exporter/class_pdfExporter.inc +++ b/gosa-core/include/exporter/class_pdfExporter.inc @@ -1,12 +1,7 @@ $dummy) { diff --git a/gosa-core/include/php_setup.inc b/gosa-core/include/php_setup.inc index 920a7fe5b..9ba0e4dac 100644 --- a/gosa-core/include/php_setup.inc +++ b/gosa-core/include/php_setup.inc @@ -291,6 +291,9 @@ $smarty->template_dir = $BASE_DIR.'/ihtml/'; $smarty->caching= false; $smarty->php_handling= SMARTY_PHP_REMOVE; +// Try to load PDF library +define('FPDF_FONTPATH', '/usr/share/php/fpdf/font/'); +@include('fpdf/fpdf.php'); // vim:tabstop=2:expandtab:shiftwidth=2:filetype=php:syntax:ruler: ?> -- 2.30.2