mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-11-25 17:57:28 +08:00
3f0ef57d31
Closes #248
19 lines
444 B
PHP
19 lines
444 B
PHP
<?php
|
|
|
|
return [
|
|
'pdf' => [
|
|
'enabled' => true,
|
|
'binary' => file_exists(base_path('wkhtmltopdf')) ? base_path('wkhtmltopdf') : env('WKHTMLTOPDF', false),
|
|
'timeout' => false,
|
|
'options' => [],
|
|
'env' => [],
|
|
],
|
|
'image' => [
|
|
'enabled' => false,
|
|
'binary' => '/usr/local/bin/wkhtmltoimage',
|
|
'timeout' => false,
|
|
'options' => [],
|
|
'env' => [],
|
|
],
|
|
];
|