Details
-
Type: Improvement
-
Status: Open
-
Priority: Major
-
Resolution: Unresolved
-
Affects Version/s: 4.7
-
Fix Version/s: 4.7.23
-
Component/s: None
-
Labels:
-
Versioning Impact:Minor (add functionality in backwards-compatible manner)
-
Documentation Required?:Developer Doc
-
Funding Source:Contributed Code
-
Verified?:No
Description
To facilitate the Drupal 8 version , which will require being installed with composer, when including files or scripts, we must update from hard coded paths, to a settings based approach.
For example:
ex: in CRM/Utils/Check/Component/Security.php, change from
PHP{{"{$civicrm_root}/vendor/dompdf/dompdf/dompdf.php"}}
to
PHP{{Civi::paths()->getPath('[civicrm.vendor]/dompdf/dompdf/dompdf.php')}}
Necessary to solve this issue: