FIX try to remove ob_* functions
This commit is contained in:
parent
908b5fff00
commit
3afd4e15ad
@ -186,11 +186,11 @@ function pdf_getEncryption($pathoffile)
|
|||||||
|
|
||||||
$content = file_get_contents($pathoffile);
|
$content = file_get_contents($pathoffile);
|
||||||
|
|
||||||
ob_start();
|
//ob_start();
|
||||||
@($parser = new \TCPDF_PARSER(ltrim($content)));
|
@($parser = new \TCPDF_PARSER(ltrim($content)));
|
||||||
list($xref, $data) = $parser->getParsedData();
|
list($xref, $data) = $parser->getParsedData();
|
||||||
unset($parser);
|
unset($parser);
|
||||||
ob_end_clean();
|
//ob_end_clean();
|
||||||
|
|
||||||
if (isset($xref['trailer']['encrypt'])) {
|
if (isset($xref['trailer']['encrypt'])) {
|
||||||
$isencrypted = true; // Secured pdf file are currently not supported
|
$isencrypted = true; // Secured pdf file are currently not supported
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user