autoload_civicrm_asset.php - Don't leave trailing slashes to chance
The upstream interpretation of `$civicrm_paths['civicrm.packages']['url']` currently requires a trailing slash... but `autoload_civicrm_asset.php` may not provide trailing slashes depending on the happenstance of defaults+customizations. This patch updates the generated values for `$civicrm_paths` and `$civicrm_asset_map` so that they consistently use (or do not use) trailing slashes.
Showing
- src/AbstractAssetRule.php 6 additions, 3 deletionssrc/AbstractAssetRule.php
- src/BasicAssetRule.php 6 additions, 2 deletionssrc/BasicAssetRule.php
- tests/Integration/CustomPathsTest.php 4 additions, 4 deletionstests/Integration/CustomPathsTest.php
- tests/Integration/DefaultPathsTest.php 4 additions, 4 deletionstests/Integration/DefaultPathsTest.php
- tests/Integration/DrupalProjectPathsTest.php 4 additions, 4 deletionstests/Integration/DrupalProjectPathsTest.php
Please register or sign in to comment