diff --git a/application/controllers/Webservices.php b/application/controllers/Webservices.php index b863859..c17f2c7 100644 --- a/application/controllers/Webservices.php +++ b/application/controllers/Webservices.php @@ -774,7 +774,7 @@ header('Content-type: application/json'); $headers = apache_request_headers(); $postData = $_GET; - if(!isset($headers['Auth']) || empty($headers['Auth'])){ + if(!isset($headers['auth']) || empty($headers['auth'])){ $respArr['status'] = 'error'; $respArr['message'] = 'Authtoken is Required'; echo json_encode($respArr);exit;