From: Evan Prodromou Date: Thu, 3 Feb 2011 17:22:39 +0000 (-0500) Subject: FacebookBridge use Plugin::path() X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=67b83bcca83293c29ea19ec9b0dd78159d9dc626;p=quix0rs-gnu-social.git FacebookBridge use Plugin::path() --- diff --git a/plugins/FacebookBridge/actions/facebooklogin.php b/plugins/FacebookBridge/actions/facebooklogin.php index f8a45c41b2..924dd46565 100644 --- a/plugins/FacebookBridge/actions/facebooklogin.php +++ b/plugins/FacebookBridge/actions/facebooklogin.php @@ -89,10 +89,7 @@ class FacebookloginAction extends Action ); $attrs = array( - 'src' => common_path( - 'plugins/FacebookBridge/images/login-button.png', - true - ), + 'src' => Plugin::staticPath('FacebookBridge', 'images/login-button.png'), 'alt' => 'Login with Facebook', 'title' => 'Login with Facebook' );