FacebookBridge use Plugin::path()

This commit is contained in:
Evan Prodromou 2011-02-03 12:22:39 -05:00
parent ffb7ca3e99
commit 67b83bcca8

View File

@ -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'
);