Merge pull request #23226 from MegaphoneJon/individual-employers
[civicrm-core.git] / ext / greenwich / greenwich.civix.php
index a1903f1e9080d0accca211a24a4ba0017ecc7469..c7649fd1e97aa9f7cf85417997d0d1618d10b0e8 100644 (file)
@@ -91,9 +91,9 @@ function _greenwich_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)) {