|
|
@@ -11,8 +11,12 @@ class Yyys extends Lyapi_Controller{
|
|
|
|
|
|
public function lyysmsghz() {
|
|
|
$ip = $this->input->ip_address();
|
|
|
+ $gsmc = $this->input->get('gsmc');
|
|
|
+ if($gsmc != 'LYERP'){
|
|
|
+ exit('No direct script access allowed !');
|
|
|
+ }
|
|
|
if($ip != '59.110.247.93'){
|
|
|
- exit('No direct script access allowed');
|
|
|
+ exit('No direct script access allowed !!!');
|
|
|
}
|
|
|
$json_str = $this->input->raw_input_stream;
|
|
|
$this->db->insert("ysnorecords",[
|