Skip to content
  • amnabilal's avatar
    [Fix]PDF generation has problem when pdf data needs to access protected... · 301d9849
    amnabilal authored
    [Fix]PDF generation has problem when pdf data needs to access protected images, protected  images access added in pdflib.php, three new functions added _getImages(&$html,&$tempImgArr) to access images paths,  file_get_contents_by_fget($url) to get image file contents and create temp images, clearTempImg($tempImgArr)to unlink all temp images after pdf is created. Theme main css is passed to pdf to preserve main website style. Second fix in this update is wikiplugin_include.php was getting plugin include icons and links for edit, added check to bypass link in case pdf needs to be created. 
    301d9849