mirror of
https://git.code.sf.net/p/seeddms/code
synced 2024-11-26 15:32:13 +00:00
pass timeout SeedDMS_Preview_PdfPreviewer
This commit is contained in:
parent
53a742b082
commit
2d8e8a606c
|
@ -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');
|
||||
|
|
Loading…
Reference in New Issue
Block a user