X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FBadge%2FForm%2FLayout.php;h=25834a190126b3ef3ead8ceb76060fc3decf4b99;hb=11b2e4a03f0fca2d8cf490fc2c9227b5b221f503;hp=34ec828fdbd11e837c3eb8969b23caac184e0adc;hpb=f6377d13a900441a52a30224ebe2093f032ad9b0;p=civicrm-core.git diff --git a/CRM/Badge/Form/Layout.php b/CRM/Badge/Form/Layout.php index 34ec828fdb..25834a1901 100644 --- a/CRM/Badge/Form/Layout.php +++ b/CRM/Badge/Form/Layout.php @@ -1,34 +1,18 @@ addSetting( [ - 'kcfinderPath' => $config->userFrameworkResourceURL . 'packages' . DIRECTORY_SEPARATOR, + 'kcfinderPath' => CRM_Utils_File::addTrailingSlash(Civi::paths()->getVariable('civicrm.packages', 'url'), '/'), ] ); $resources->addScriptFile('civicrm', 'templates/CRM/Badge/Form/Layout.js', 1, 'html-header');