发布v2.6.8版本
This commit is contained in:
@@ -21,7 +21,7 @@ class openapiAction extends ActionNot
|
||||
$this->display= false;
|
||||
$openkey = $this->post('openkey');
|
||||
$this->openkey = getconfig('openkey');
|
||||
if($this->keycheck && HOST != '127.0.0.1' && !contain(HOST,'192.168') && $this->openkey != ''){
|
||||
if($this->keycheck && $this->openkey != ''){
|
||||
if($openkey != md5($this->openkey))$this->showreturn('', 'openkey not access', 201);
|
||||
}
|
||||
$this->getpostdata();
|
||||
|
||||
Reference in New Issue
Block a user