mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-12-13 22:43:39 +08:00
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' => [],
|
||
|
],
|
||
|
];
|