]> BookStack Code Mirror - bookstack/blob - app/Config/snappy.php
f347eda23349264d1b3d4118afadbedde0a5990a
[bookstack] / app / Config / snappy.php
1 <?php
2
3 /**
4  * SnappyPDF configuration options.
5  *
6  * Changes to these config files are not supported by BookStack and may break upon updates.
7  * Configuration should be altered via the `.env` file or environment variables.
8  * Do not edit this file unless you're happy to maintain any changes yourself.
9  */
10
11 return [
12     'pdf' => [
13         'enabled' => true,
14         'binary'  => file_exists(base_path('wkhtmltopdf')) ? base_path('wkhtmltopdf') : env('WKHTMLTOPDF', false),
15         'timeout' => false,
16         'options' => [
17             'outline' => true
18         ],
19         'env'     => [],
20     ],
21     'image' => [
22         'enabled' => false,
23         'binary'  => '/usr/local/bin/wkhtmltoimage',
24         'timeout' => false,
25         'options' => [],
26         'env'     => [],
27     ],
28 ];