]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
TwitterBridge uses Plugin::staticPath()
authorEvan Prodromou <evan@status.net>
Thu, 3 Feb 2011 16:03:24 +0000 (11:03 -0500)
committerEvan Prodromou <evan@status.net>
Thu, 3 Feb 2011 16:03:24 +0000 (11:03 -0500)
plugins/TwitterBridge/twitterlogin.php

index 5b5bfae191d9d616ed33e0aafeeb5d682f2df5d9..062c781f77c217b3170e66c8454d686ed51714b0 100644 (file)
@@ -83,7 +83,7 @@ class TwitterloginAction extends Action
         $this->elementStart('a', array('href' => common_local_url('twitterauthorization',
                                                                   null,
                                                                   array('signin' => true))));
-        $this->element('img', array('src' => common_path('plugins/TwitterBridge/Sign-in-with-Twitter-lighter.png'),
+        $this->element('img', array('src' => Plugin::staticPath('TwitterBridge', 'Sign-in-with-Twitter-lighter.png'),
                                     'alt' => _m('Sign in with Twitter')));
         $this->elementEnd('a');
     }