Merge branch 'master' of gitorious.org:statusnet/mainline
This commit is contained in:
commit
259a262df4
@ -127,6 +127,7 @@ abstract class ProfileBlock extends Widget
|
|||||||
if (!empty($homepage)) {
|
if (!empty($homepage)) {
|
||||||
$this->out->element('a',
|
$this->out->element('a',
|
||||||
array('href' => $homepage,
|
array('href' => $homepage,
|
||||||
|
'rel' => 'me',
|
||||||
'class' => 'profile_block_homepage'),
|
'class' => 'profile_block_homepage'),
|
||||||
$homepage);
|
$homepage);
|
||||||
}
|
}
|
||||||
|
@ -223,6 +223,7 @@ class RegisterThrottlePlugin extends Plugin
|
|||||||
private function _getIpAddress()
|
private function _getIpAddress()
|
||||||
{
|
{
|
||||||
$keys = array('HTTP_X_FORWARDED_FOR',
|
$keys = array('HTTP_X_FORWARDED_FOR',
|
||||||
|
'HTTP_X_CLIENT',
|
||||||
'CLIENT-IP',
|
'CLIENT-IP',
|
||||||
'REMOTE_ADDR');
|
'REMOTE_ADDR');
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user