Fix copy & paste
[civicrm-core.git] / ext / authx / authx.civix.php
index 6a25c05c5c0e5bdf915e3c77cc0f0855ab433d62..3320d7a45114ee68358264b7f83dc0d6c10c7353 100644 (file)
@@ -91,9 +91,9 @@ function _authx_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)) {