]> BookStack Code Mirror - bookstack/blob - config/snappy.php
Hide permissions table unless custom permissions are enabled
[bookstack] / 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         'env'     => [],
18     ],
19     'image' => [
20         'enabled' => false,
21         'binary'  => '/usr/local/bin/wkhtmltoimage',
22         'timeout' => false,
23         'options' => [],
24         'env'     => [],
25     ],
26 ];
Morty Proxy This is a proxified and sanitized view of the page, visit original site.