summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--print_pdf/print_pdf.module7
1 files changed, 7 insertions, 0 deletions
diff --git a/print_pdf/print_pdf.module b/print_pdf/print_pdf.module
index af92159..5de416e 100644
--- a/print_pdf/print_pdf.module
+++ b/print_pdf/print_pdf.module
@@ -25,6 +25,13 @@ define('PRINT_PDF_FONT_FAMILY_DEFAULT', 'dejavusans');
define('PRINT_PDF_FONT_SIZE_DEFAULT', 10);
/**
+ * Implementation of hook_init().
+ */
+function print_pdf_init() {
+ $GLOBALS['conf']['cache'] = FALSE;
+}
+
+/**
* Implementation of hook_theme().
*/
function print_pdf_theme() {