Skip to content
Snippets Groups Projects
Commit 7313fed2 authored by totten's avatar totten
Browse files

dompdf - Configurable paths should accept path variables

Before: The values in `dompdf_font_dir`, `dompdf_log_output_file` must be set to an absolute path.

After: The values in `dompdf_font_dir`, `dompdf_log_output_file` may be absolute, or they may use path-variables.
parent 14e7eb38
Branches
Tags
No related merge requests found
......@@ -290,7 +290,7 @@ class CRM_Utils_PDF_Utils {
foreach (['font_dir', 'chroot', 'log_output_file'] as $setting) {
$value = \Civi::settings()->get("dompdf_$setting");
if (isset($value)) {
$settings[$setting] = $value;
$settings[$setting] = Civi::paths()->getPath($value);
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment