Correct autoload.inc.php path when dompdf > 1.2.1

Created on 22 July 2022, over 2 years ago
Updated 16 June 2024, 5 months ago

Problem/Motivation

When upgrading dompdf to 2.0.0 (security release) the dompdf autoload.inc.php could not be found.

Steps to reproduce

With print 7.x-2.4 and dompdf 1.2.2 or greater attempt to save the print pdf configuration page, or attempt to generate a pdf file. An error occurs that the autoload.inc.php could not be found.

Proposed resolution

Modify print_pdf_dompdf.pages.inc to use /../../../../autoload.inc.php instead of /../autoload.inc.php when detected version is greater than 1.2.1.

πŸ› Bug report
Status

Fixed

Version

2.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States puddyglum Elk Grove, CA

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024