lib/modules/mod_wkhtmltoimage.php 1 location
|
@@ 13-17 (lines=5) @@
|
10 |
|
$config['cmd'] = '/usr/local/bin/wkhtmltoimage --disable-local-file-access '; |
11 |
|
} |
12 |
|
|
13 |
|
if (!$config['temp']) { |
14 |
|
$context = pobject::getContext(); |
15 |
|
$me = $context["arCurrentObject"]; |
16 |
|
$config['temp'] = $me->store->get_config( "files" ) . "temp/"; |
17 |
|
} |
18 |
|
|
19 |
|
$this->config = $config; |
20 |
|
$this->options = array( |
lib/modules/mod_wkhtmltopdf.php 1 location
|
@@ 15-19 (lines=5) @@
|
12 |
|
$config['cmd'] = '/usr/bin/xvfb-run -a /usr/local/bin/wkhtmltopdf --disable-local-file-access '; |
13 |
|
} |
14 |
|
|
15 |
|
if (!$config['temp']) { |
16 |
|
$context = pobject::getContext(); |
17 |
|
$me = $context["arCurrentObject"]; |
18 |
|
$config['temp'] = $me->store->get_config( "files" ) . "temp/"; |
19 |
|
} |
20 |
|
|
21 |
|
$this->config = $config; |
22 |
|
$this->options = array(); |
lib/modules/mod_pdftk.php 1 location
|
@@ 10-14 (lines=5) @@
|
7 |
|
$config['cmd'] = '/usr/bin/pdftk '; |
8 |
|
} |
9 |
|
|
10 |
|
if (!$config['temp']) { |
11 |
|
$context = pobject::getContext(); |
12 |
|
$me = $context["arCurrentObject"]; |
13 |
|
$config['temp'] = $me->store->get_config( "files" ) . "temp/"; |
14 |
|
} |
15 |
|
|
16 |
|
$this->config = $config; |
17 |
|
} |