Last active
August 29, 2015 14:00
-
-
Save xurizaemon/11528913 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/print_pdf/lib_handlers/print_pdf_wkhtmltopdf/print_pdf_wkhtmltopdf.pages.inc b/print_pdf/lib_handlers/print_pdf_wkhtmltopdf/print_pdf_wkhtmltopdf.pages.inc | |
index 3e86f97..a4b1c6c 100644 | |
--- a/print_pdf/lib_handlers/print_pdf_wkhtmltopdf/print_pdf_wkhtmltopdf.pages.inc | |
+++ b/print_pdf/lib_handlers/print_pdf_wkhtmltopdf/print_pdf_wkhtmltopdf.pages.inc | |
@@ -33,7 +33,7 @@ function print_pdf_wkhtmltopdf_print_pdf_generate($html, $meta, $paper_size = NU | |
$version = print_pdf_wkhtmltopdf_pdf_tool_version($pdf_tool[1]); | |
// 0.10.0 beta2 identifies itself as 0.9.9 | |
- if (version_compare($version, '0.9.9', '>=')) { | |
+ if (version_compare($version, '0.10', '>=')) { | |
$wkhtmltopdf_options = '--disable-local-file-access ' . $wkhtmltopdf_options; | |
} | |
elseif (version_compare($version, '0.9.6', '>=')) { |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment