]> BookStack Code Mirror - bookstack/commitdiff
Add WKHTMLTOPDF to .env.example.complete 4145/head
authorDaiki Urata <redacted>
Thu, 30 Mar 2023 08:58:17 +0000 (17:58 +0900)
committerDaiki Urata <redacted>
Thu, 30 Mar 2023 08:58:17 +0000 (17:58 +0900)
.env.example.complete

index f81bccae4702b9ddf2eb0f903713e1956c1976c1..0ac40a90b7e4527581a98880a5b3cbe160659f1b 100644 (file)
@@ -372,4 +372,10 @@ LOG_FAILED_LOGIN_CHANNEL=errorlog_plain_webserver
 # IP address '146.191.42.4' would result in '146.191.x.x' being logged.
 # For the IPv6 address '2001:db8:85a3:8d3:1319:8a2e:370:7348' this would result as:
 # '2001:db8:85a3:8d3:x:x:x:x'
-IP_ADDRESS_PRECISION=4
\ No newline at end of file
+IP_ADDRESS_PRECISION=4
+
+# Use wkhtmltopdf to generate PDF documents instead of dompdf.
+# Set the path to the wkhtmltopdf binary
+# Example: WKHTMLTOPDF=/home/user/bins/wkhtmltopdf
+# Refer to https://www.bookstackapp.com/docs/admin/pdf-rendering/#using-wkhtmltopdf
+WKHTMLTOPDF=false
\ No newline at end of file