FIX try to remove ob_* functions

This commit is contained in:
Regis Houssin 2019-06-17 07:09:19 +02:00
parent 908b5fff00
commit 3afd4e15ad

View File

@ -186,11 +186,11 @@ function pdf_getEncryption($pathoffile)
$content = file_get_contents($pathoffile);
ob_start();
//ob_start();
@($parser = new \TCPDF_PARSER(ltrim($content)));
list($xref, $data) = $parser->getParsedData();
unset($parser);
ob_end_clean();
//ob_end_clean();
if (isset($xref['trailer']['encrypt'])) {
$isencrypted = true; // Secured pdf file are currently not supported