Merge pull request #22627 from eileenmcnaughton/config
[civicrm-core.git] / tools / extensions / org.civicrm.demoqueue / demoqueue.civix.php
index 2f643279ded3e7b1b0b4e2c96454c96a8543a2c1..b722efa38f45ac44bd552ed07220bb49a8a90aae 100644 (file)
@@ -7,9 +7,9 @@
  * @param $config
  */
 function _demoqueue_civix_civicrm_config(&$config) {
-  $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)) {