commit
76bdced6e3
|
@ -323,11 +323,7 @@ class Request implements \ArrayAccess, \Countable, IRequest {
|
||||||
switch ($name) {
|
switch ($name) {
|
||||||
case 'CONTENT_TYPE' :
|
case 'CONTENT_TYPE' :
|
||||||
case 'CONTENT_LENGTH' :
|
case 'CONTENT_LENGTH' :
|
||||||
if (isset($this->server[$name])) {
|
case 'REMOTE_ADDR':
|
||||||
return $this->server[$name];
|
|
||||||
}
|
|
||||||
break;
|
|
||||||
case 'REMOTE_ADDR' :
|
|
||||||
if (isset($this->server[$name])) {
|
if (isset($this->server[$name])) {
|
||||||
return $this->server[$name];
|
return $this->server[$name];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue