Skip to content
Snippets Groups Projects
Commit 9544a58a authored by Carsten  Rose's avatar Carsten Rose
Browse files

reformat

parent da72b3d3
No related branches found
No related tags found
No related merge requests found
......@@ -383,7 +383,6 @@ class Download {
if (!is_array($vars)) {
$vars = $this->store->getStore(STORE_SIP);
}
return $this->doElements($vars, $outputMode);
}
......
......@@ -214,7 +214,7 @@ class Html2Pdf {
$customHeader = '--custom-header User-Agent ' . escapeshellarg($_SERVER['HTTP_USER_AGENT']) . ' --custom-header-propagation'; // By default 'Typo3' expects the same User-Agent for the FE-Session
// Very important: The current lock on session SESSION_NAME has to be freed, cause wkhtmltopdf will use the same
// session in a few moments and this script remains active during that the time and that would cause a deadlock else.
// session in a few moments and this script remains active during that time and that would cause a deadlock else.
$this->session->close();
$cmd = "$wkhtmlToPdf $customHeader $cookieOptions $options $urlPrint $filenameEscape";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment