projects
/
project/print.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
890aa37
)
Fix #339111: Disable caching for PDF files
author
Joao Ventura
Mon, 1 Dec 2008 15:17:13 +0000 (15:17 +0000)
committer
Joao Ventura
Mon, 1 Dec 2008 15:17:13 +0000 (15:17 +0000)
print_pdf/print_pdf.module
patch
|
blob
|
blame
|
history
diff --git
a/print_pdf/print_pdf.module
b/print_pdf/print_pdf.module
index
af92159
..
5de416e
100644
(file)
--- 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() {