Fix cache paths when exporting to pdf - refs BT#13834

pull/2458/head
Angel Fernando Quiroz Campos 8 years ago
parent 5766e4e379
commit c9257e83ec
  1. 1
      main/inc/lib/pdf.lib.php

@ -493,6 +493,7 @@ class PDF
api_get_path(SYS_CODE_PATH).'img/',
$document_html
);
$document_html = str_replace(api_get_path(WEB_ARCHIVE_PATH), api_get_path(SYS_ARCHIVE_PATH), $document_html);
//replace relative path by absolute path for resources
//$document_html= str_replace('src="/chamilo/main/default_course_document/', 'temp_template_path', $document_html);// before save src templates not apply

Loading…
Cancel
Save