X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=settings%2FCore.setting.php;h=f3079b296c5525f4ee5dbe759b88fc09a3925153;hb=1d041a1c448b0659f1dc35841ff70d59f84ba60d;hp=64778e4d87bae74397b25d45c6abe335db0be7e8;hpb=dbf9e1e6c5e0c8a1c54e1a457f9d85d703e51cac;p=civicrm-core.git diff --git a/settings/Core.setting.php b/settings/Core.setting.php index 64778e4d87..f3079b296c 100644 --- a/settings/Core.setting.php +++ b/settings/Core.setting.php @@ -375,7 +375,7 @@ return [ 'pseudoconstant' => [ 'callback' => 'CRM_Contact_BAO_GroupContactCache::getModes', ], - 'description' => ts('Should the acl cache be by cron jobs or user actions'), + 'description' => ts('Should the acl cache be flushed by cron jobs or user actions'), 'help_text' => ts('In "Opportunistic Flush" mode, caches are flushed in response to user actions; this mode is broadly compatible but may add latency during form-submissions. In "Cron Flush" mode, you should schedule a cron job to flush caches if your site uses ACLs; this can improve latency on form-submissions but requires more setup.'), ], 'installed' => [ @@ -529,6 +529,78 @@ return [ 'callback' => 'CRM_Contact_Form_Task_PDFLetterCommon::getLoggingOptions', ], ], + 'dompdf_font_dir' => [ + 'is_domain' => 1, + 'is_contact' => 0, + 'group_name' => 'CiviCRM Preferences', + 'group' => 'core', + 'name' => 'dompdf_font_dir', + 'title' => ts('DOMPDF Font Folder'), + 'description' => ts('Additional folder where DOMPDF will look for fonts.'), + 'type' => 'String', + 'quick_form_type' => 'Element', + 'html_type' => 'text', + 'html_attributes' => [ + 'size' => 64, + 'maxlength' => 256, + ], + 'default' => NULL, + 'help_text' => NULL, + 'add' => '5.43', + ], + 'dompdf_chroot' => [ + 'is_domain' => 1, + 'is_contact' => 0, + 'group_name' => 'CiviCRM Preferences', + 'group' => 'core', + 'name' => 'dompdf_chroot', + 'title' => ts('DOMPDF Local Images Folder'), + 'description' => ts('Folder to restrict where DOMPDF looks when loading local images. By default it is the DOMPDF folder itself for security reasons. It will search in subfolders.'), + 'type' => 'String', + 'quick_form_type' => 'Element', + 'html_type' => 'text', + 'html_attributes' => [ + 'size' => 64, + 'maxlength' => 256, + ], + 'default' => NULL, + 'help_text' => NULL, + 'add' => '5.43', + ], + 'dompdf_enable_remote' => [ + 'is_domain' => 1, + 'is_contact' => 0, + 'group_name' => 'CiviCRM Preferences', + 'group' => 'core', + 'name' => 'dompdf_enable_remote', + 'title' => ts('DOMPDF Enable Remote Images'), + 'description' => ts('Enable the use of remote images. By default this is enabled, but if not using remote images you may wish to turn it off for security reasons.'), + 'type' => 'Boolean', + 'quick_form_type' => 'YesNo', + 'html_type' => '', + 'default' => TRUE, + 'help_text' => NULL, + 'add' => '5.43', + ], + 'dompdf_log_output_file' => [ + 'is_domain' => 1, + 'is_contact' => 0, + 'group_name' => 'CiviCRM Preferences', + 'group' => 'core', + 'name' => 'dompdf_log_output_file', + 'title' => ts('DOMPDF Log File'), + 'description' => ts('DOMPDF will log debugging output in this file.'), + 'type' => 'String', + 'quick_form_type' => 'Element', + 'html_type' => 'text', + 'html_attributes' => [ + 'size' => 64, + 'maxlength' => 256, + ], + 'default' => NULL, + 'help_text' => NULL, + 'add' => '5.43', + ], 'wkhtmltopdfPath' => [ 'group_name' => 'CiviCRM Preferences', 'group' => 'core',