Commit e1f07f3c authored by chenchuanwen's avatar chenchuanwen

growcard

parent 466ae99b
......@@ -6,7 +6,9 @@ class IndexController extends \Our\Controller_Abstract {
public $memberId;
public $messageService;
public function init(){
$client_ip = $_SERVER['REMOTE_ADDR'];
echo $client_ip;
exit;
}
public function is_https() {
if ( !empty($_SERVER['HTTPS']) && strtolower($_SERVER['HTTPS']) !== 'off') {
......
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