pass timeout SeedDMS_Preview_PdfPreviewer

This commit is contained in:
Uwe Steinmann 2018-11-16 08:17:12 +01:00
parent 53a742b082
commit 2d8e8a606c

View File

@ -69,7 +69,7 @@ if (!is_object($object)) {
exit;
}
$previewer = new SeedDMS_Preview_PdfPreviewer($settings->_cacheDir);
$previewer = new SeedDMS_Preview_PdfPreviewer($settings->_cacheDir, $settings->_cmdTimeout);
if(!$previewer->hasPreview($object))
$previewer->createPreview($object);
header('Content-Type: application/pdf');