Merge branch 'master' of gitorious.org:statusnet/mainline

This commit is contained in:
Evan Prodromou 2012-01-21 21:12:53 -05:00
commit 259a262df4
2 changed files with 2 additions and 0 deletions

View File

@ -127,6 +127,7 @@ abstract class ProfileBlock extends Widget
if (!empty($homepage)) {
$this->out->element('a',
array('href' => $homepage,
'rel' => 'me',
'class' => 'profile_block_homepage'),
$homepage);
}

View File

@ -223,6 +223,7 @@ class RegisterThrottlePlugin extends Plugin
private function _getIpAddress()
{
$keys = array('HTTP_X_FORWARDED_FOR',
'HTTP_X_CLIENT',
'CLIENT-IP',
'REMOTE_ADDR');