X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=ext%2Foauth-client%2Foauth_client.civix.php;h=3d9ae5d3f523f062ef5fa5a3b608c0eca9dfb785;hb=6eb1d7911d53b6ba1ed6cfcc755692026b0995af;hp=f4fc3b04680b0b0cae0b4711363c39d34ad20094;hpb=6725f737825a3bfdb809962e66ea50fe43518604;p=civicrm-core.git diff --git a/ext/oauth-client/oauth_client.civix.php b/ext/oauth-client/oauth_client.civix.php index f4fc3b0468..3d9ae5d3f5 100644 --- a/ext/oauth-client/oauth_client.civix.php +++ b/ext/oauth-client/oauth_client.civix.php @@ -91,9 +91,9 @@ function _oauth_client_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)) {