X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FCore%2FSmarty%2Fplugins%2Ffunction.crmResPath.php;h=01b47198a2c38a8f1ce3f093ec7921cac778c078;hb=016d95d3fe033f468b551b42bdc96e194f73e553;hp=5ae70638920c5d930113f35ac7144ce46df38b1f;hpb=7a88e045914e81a53e30af54aee578baa9ff0220;p=civicrm-core.git diff --git a/CRM/Core/Smarty/plugins/function.crmResPath.php b/CRM/Core/Smarty/plugins/function.crmResPath.php index 5ae7063892..01b47198a2 100644 --- a/CRM/Core/Smarty/plugins/function.crmResPath.php +++ b/CRM/Core/Smarty/plugins/function.crmResPath.php @@ -1,27 +1,11 @@ getPath($params['expr']); + } + $res = CRM_Core_Resources::singleton(); if (!array_key_exists('ext', $params)) { $params['ext'] = 'civicrm';