-
Notifications
You must be signed in to change notification settings - Fork 25
/
Copy pathconfig.php
81 lines (67 loc) · 2.51 KB
/
config.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
<?php
return [
/*
|--------------------------------------------------------------------------
| Temporary File Path
|--------------------------------------------------------------------------
|
| The temporary file path where html and pdf files are stored.
|
*/
'temporary_file_path' => storage_path(),
/*
|--------------------------------------------------------------------------
| The url for the base tag
|--------------------------------------------------------------------------
|
| Since the HTML file that is loaded into PhantomJS is loaded from the file system,
| any relative references to assets will not work. We fix this by adding a base tag
| to the html file. Set to null to skip the base tag entirely or "/" to set to base path
|
*/
'base_url' => '/',
/*
|--------------------------------------------------------------------------
| Phantom Process Timeout (Seconds)
|--------------------------------------------------------------------------
|
| PhantomJS is being executed in a separate process, here we can specify
| how long to wait for the process to finish before aborting.
|
*/
'timeout' => 10,
/*
|--------------------------------------------------------------------------
| PhantomJS Binary Path
|--------------------------------------------------------------------------
|
| The path to the PhantomJS binary. This packages ships with the 64 bit linux build.
| If you want to use another version, reference it here.
|
*/
'binary_path' => null,
/*
|--------------------------------------------------------------------------
| Conversion Script
|--------------------------------------------------------------------------
|
| The script used by PhantomJS to convert the page to PDF. If not set the
| default script will be used.
|
*/
'conversion_script' => null,
/*
|--------------------------------------------------------------------------
| PhantomJS Command Line Options
|--------------------------------------------------------------------------
|
| Add list of wanted command line options for PhantomJS
| List of available options can be found here:
| http://phantomjs.org/api/command-line.html
|
*/
'command_line_options' => [
//'--ignore-ssl-errors=true',
//'--debug=true',
]
];