summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: e34f08a)
raw | patch | inline | side by side (parent: e34f08a)
author | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 17 Sep 2009 13:52:26 +0000 (13:52 +0000) | ||
committer | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 17 Sep 2009 13:52:26 +0000 (13:52 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@14272 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/include/exporter/class_pdfExporter.inc | patch | blob | history |
diff --git a/gosa-core/include/exporter/class_pdfExporter.inc b/gosa-core/include/exporter/class_pdfExporter.inc
index f1c5f8918d36f4fa62d23a7e4b360f56f5fd38c5..a097d00d8ac0ea10064b82d8074057e39718ae6d 100644 (file)
<?php
// Load supporter class only if FPDF is loaded
-if(class_exists('FPDF')) {
+$classes= get_declared_classes();
+if(in_array('FPDF', $classes)) {
include('class_PDF.inc');
}