mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-11-23 17:26:49 +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' => [],
|
||
|
],
|
||
|
];
|