mirror of
https://github.com/Karaka-Management/oms-Media.git
synced 2026-02-10 22:48:40 +00:00
fix pdf2text call
This commit is contained in:
parent
5d734ed738
commit
be3c3465c7
|
|
@ -330,7 +330,7 @@ final class ApiController extends Controller
|
|||
{
|
||||
switch ($extension) {
|
||||
case 'pdf':
|
||||
return PdfParser::pdf2text($path);
|
||||
return PdfParser::pdf2text($path, __DIR__ . '/../../../Tools/OCRImageOptimizer/bin/App');
|
||||
case 'doc':
|
||||
case 'docx':
|
||||
Autoloader::addPath(__DIR__ . '/../../../Resources/');
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user