Commit 3d43bd31 authored by Zohten's avatar Zohten

minor change

parent 9e41b4c8
...@@ -90,7 +90,6 @@ class Request ...@@ -90,7 +90,6 @@ class Request
} }
} }
// retourne la méthode HTTP utilisée dans la requête courante // retourne la méthode HTTP utilisée dans la requête courante
public function getHttpMethod() public function getHttpMethod()
{ {
...@@ -140,7 +139,7 @@ class Request ...@@ -140,7 +139,7 @@ class Request
return $arrayResult; return $arrayResult;
} }
function getIpAddr() public function getIpAddr()
{ {
if(!empty($_SERVER['HTTP_CLIENT_IP'])){ if(!empty($_SERVER['HTTP_CLIENT_IP'])){
$ip = $_SERVER['HTTP_CLIENT_IP']; $ip = $_SERVER['HTTP_CLIENT_IP'];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment