Commit ca0f3554 by Jansa Jose

update fcm doctor autht

parent 8ec0fb2e
...@@ -3932,7 +3932,7 @@ print_r(date('H:i',$ms));exit();*/ ...@@ -3932,7 +3932,7 @@ print_r(date('H:i',$ms));exit();*/
//$data = $_POST; //$data = $_POST;
$headers = apache_request_headers(); $headers = apache_request_headers();
//$data =(array) json_decode(file_get_contents("php://input")); //$data =(array) json_decode(file_get_contents("php://input"));
$data = $_POST; $data = (array) json_decode(file_get_contents("php://input"));;
if( isset($headers['Auth']) && strlen($headers['Auth'])){ if( isset($headers['Auth']) && strlen($headers['Auth'])){
$check_authToken = $this->Webservice_model->check_auth_token_doctor($headers['Auth']); $check_authToken = $this->Webservice_model->check_auth_token_doctor($headers['Auth']);
if($check_authToken){ if($check_authToken){
......
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