This commit is contained in:
Holger Trampe 2021-10-23 16:06:32 +02:00
parent d7d7f24c36
commit eaa917045b
1 changed files with 2 additions and 2 deletions

View File

@ -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);