From 8bed0a74f8dbfa6424d5b6ec89484183accb698e Mon Sep 17 00:00:00 2001 From: demeritcowboy Date: Mon, 13 Jul 2020 19:09:23 -0400 Subject: [PATCH] packages is already in include_path --- CRM/Utils/PDF/Utils.php | 2 +- CRM/Utils/ReCAPTCHA.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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"); diff --git a/CRM/Utils/ReCAPTCHA.php b/CRM/Utils/ReCAPTCHA.php index 93747f7b13..14c4272f9d 100644 --- a/CRM/Utils/ReCAPTCHA.php +++ b/CRM/Utils/ReCAPTCHA.php @@ -78,7 +78,7 @@ class CRM_Utils_ReCAPTCHA { $config = CRM_Core_Config::singleton(); $useSSL = FALSE; if (!function_exists('recaptcha_get_html')) { - require_once 'packages/recaptcha/recaptchalib.php'; + require_once 'recaptcha/recaptchalib.php'; } // Load the Recaptcha api.js over HTTPS -- 2.25.1