Advertisement
Guest User

Untitled

a guest
Jan 23rd, 2020
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 1.56 KB | None | 0 0
  1.     <?php
  2.  
  3.     return [
  4.  
  5.         /*
  6.         |--------------------------------------------------------------------------
  7.         | Snappy PDF / Image Configuration
  8.         |--------------------------------------------------------------------------
  9.         |
  10.         | This option contains settings for PDF generation.
  11.         |
  12.         | Enabled:
  13.         |    
  14.         |    Whether to load PDF / Image generation.
  15.         |
  16.         | Binary:
  17.         |    
  18.         |    The file path of the wkhtmltopdf / wkhtmltoimage executable.
  19.         |
  20.         | Timout:
  21.         |    
  22.         |    The amount of time to wait (in seconds) before PDF / Image generation is stopped.
  23.         |    Setting this to false disables the timeout (unlimited processing time).
  24.         |
  25.         | Options:
  26.         |
  27.         |    The wkhtmltopdf command options. These are passed directly to wkhtmltopdf.
  28.         |    See https://wkhtmltopdf.org/usage/wkhtmltopdf.txt for all options.
  29.         |
  30.         | Env:
  31.         |
  32.         |    The environment variables to set while running the wkhtmltopdf process.
  33.         |
  34.         */
  35.        
  36.         'pdf' => [
  37.             'enabled' => true,
  38.             'binary'  => '/usr/local/bin/wkhtmltopdf',
  39.             'timeout' => false,
  40.             'options' => [],
  41.             'env'     => [],
  42.         ],
  43.        
  44.         'image' => [
  45.             'enabled' => true,
  46.             'binary'  => '/usr/local/bin/wkhtmltoimage',
  47.             'timeout' => false,
  48.             'options' => [],
  49.             'env'     => [],
  50.         ],
  51.  
  52.     ];
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement