Merge branch '5.52'
[civicrm-core.git] / ext / payflowpro / payflowpro.civix.php
index 981716e9d649b29cb3d41b777bd1c5be80a92756..02c9abccac903666a27290e5a44e6c249b7f62f9 100644 (file)
@@ -91,9 +91,10 @@ function _payflowpro_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)) {