Replace web paths for uploads when exporting pdf - refs BT#18201

pull/3766/head^2
Angel Fernando Quiroz Campos 5 years ago
parent 344f827f2b
commit 0442eb34a5
  1. 1
      main/inc/lib/pdf.lib.php

@ -502,6 +502,7 @@ class PDF
$document_html
);
$document_html = str_replace(api_get_path(WEB_UPLOAD_PATH), api_get_path(SYS_UPLOAD_PATH), $document_html);
$document_html = str_replace(api_get_path(WEB_ARCHIVE_PATH), api_get_path(SYS_ARCHIVE_PATH), $document_html);
// The library mPDF expects UTF-8 encoded input data.

Loading…
Cancel
Save