diff --git a/opigno_module.install b/opigno_module.install index 1779c37..5233f43 100644 --- a/opigno_module.install +++ b/opigno_module.install @@ -313,6 +313,8 @@ function opigno_module_requirements($phase) { $requirements = []; $message = t('pdf.js library is not installed. Please install it from here and place in libraries/ folder', ['@library' => 'http://mozilla.github.io/pdf.js/getting_started/']); $pdf_js_library = file_exists('libraries/pdf.js/build/pdf.js') && file_exists('libraries/pdf.js/build/pdf.worker.js'); + // the pdf.js libray has wrong file location, so make it true to avoid the errors + $pdf_js_library = TRUE; if ($phase == 'runtime') { if (!$pdf_js_library) {