lib/modules/mod_wkhtmltoimage.php 1 location
|
@@ 40-46 (lines=7) @@
|
37 |
|
} |
38 |
|
|
39 |
|
$execString = $this->config['cmd']; |
40 |
|
foreach ($this->options as $name => $value) { |
41 |
|
if ( is_bool( $name ) ) { |
42 |
|
$execString .= " --$name"; |
43 |
|
} else { |
44 |
|
$execString .= " --$name " . escapeshellarg( $value ); |
45 |
|
} |
46 |
|
} |
47 |
|
|
48 |
|
foreach ($this->cookies as $name => $value) { |
49 |
|
$execString .= " --cookie " . escapeshellarg( $name ) . " " . escapeshellarg( $value ); |
lib/modules/mod_wkhtmltopdf.php 1 location
|
@@ 41-47 (lines=7) @@
|
38 |
|
} |
39 |
|
|
40 |
|
$execString = $this->config['cmd']; |
41 |
|
foreach ($this->options as $name => $value) { |
42 |
|
if ( is_bool( $value ) ) { |
43 |
|
$execString .= " --$name"; |
44 |
|
} else { |
45 |
|
$execString .= " --$name " . escapeshellarg( $value ); |
46 |
|
} |
47 |
|
} |
48 |
|
|
49 |
|
foreach ($this->cookies as $name => $value) { |
50 |
|
$execString .= " --cookie " . escapeshellarg( $name ) . " " . escapeshellarg( $value ); |