X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=ext%2Feventcart%2Feventcart.civix.php;h=bdce986d6ec8cac52e61d01e762beca3c18fedf2;hb=91780c73737d21fa0619f233b543910e248ea7e7;hp=bec41bc7f2e406f56470f5515f8b32ea5f1d44eb;hpb=1e134c589990013a8c8da28b7163d927e02d3c00;p=civicrm-core.git diff --git a/ext/eventcart/eventcart.civix.php b/ext/eventcart/eventcart.civix.php index bec41bc7f2..bdce986d6e 100644 --- a/ext/eventcart/eventcart.civix.php +++ b/ext/eventcart/eventcart.civix.php @@ -91,9 +91,9 @@ function _eventcart_civix_civicrm_config(&$config = NULL) { } $configured = TRUE; - $template =& CRM_Core_Smarty::singleton(); + $template = CRM_Core_Smarty::singleton(); - $extRoot = dirname(__FILE__) . DIRECTORY_SEPARATOR; + $extRoot = __DIR__ . DIRECTORY_SEPARATOR; $extDir = $extRoot . 'templates'; if (is_array($template->template_dir)) {