This commit is contained in:
parent
d7d7f24c36
commit
eaa917045b
|
|
@ -115,10 +115,10 @@ class LoginByNC extends Controller {
|
||||||
),
|
),
|
||||||
"http" => array(
|
"http" => array(
|
||||||
"method" => "POST",
|
"method" => "POST",
|
||||||
"header" => "Content-Type: application/x-www-form-urlencoded\r\n",
|
"header" => "",
|
||||||
"content" => $postdata
|
"content" => $postdata
|
||||||
)
|
)
|
||||||
];
|
];
|
||||||
|
|
||||||
$context = stream_context_create($opts);
|
$context = stream_context_create($opts);
|
||||||
$file = file_get_contents($this->nclink.'/api/setlog/', false, $context);
|
$file = file_get_contents($this->nclink.'/api/setlog/', false, $context);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue