removed pdftotext check in mfUpload
This commit is contained in:
@@ -121,12 +121,16 @@ class mfUpload {
|
||||
return false;
|
||||
}
|
||||
|
||||
/*
|
||||
// false positives if PDF consists of images only
|
||||
$pdftext = $this->upload->pdftotext();
|
||||
|
||||
//$this->log->debug("text: ".$pdftext);
|
||||
if(strlen($pdftext) < 100) {
|
||||
$this->log->warn("pdftotext less than 100 bytes (".$this->filename.")");
|
||||
return false;
|
||||
}
|
||||
*/
|
||||
|
||||
//$this->log->debug("upload text: $pdftext");
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user