X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FUtils%2FPDF%2FUtils.php;h=6fc9959b8605fce66fa9a7553c4f88c91508b0db;hb=adda96477f2727e278cb6ec886cd2cc0faa83b85;hp=c5cf7003f1ea851739c8fda568369a2f59e62155;hpb=879ff7b8f48d372730f30e007cd87f9314f22b26;p=civicrm-core.git diff --git a/CRM/Utils/PDF/Utils.php b/CRM/Utils/PDF/Utils.php index c5cf7003f1..6fc9959b86 100644 --- a/CRM/Utils/PDF/Utils.php +++ b/CRM/Utils/PDF/Utils.php @@ -207,7 +207,7 @@ class CRM_Utils_PDF_Utils { * @param string $fileName */ public static function _html2pdf_wkhtmltopdf($paper_size, $orientation, $margins, $html, $output, $fileName) { - require_once 'packages/snappy/src/autoload.php'; + require_once 'snappy/src/autoload.php'; $config = CRM_Core_Config::singleton(); $snappy = new Knp\Snappy\Pdf($config->wkhtmltopdfPath); $snappy->setOption("page-width", $paper_size[2] . "pt");