diff --git a/lib/AppInfo/Application.php b/lib/AppInfo/Application.php index 9ee9b9f..a4b7af3 100644 --- a/lib/AppInfo/Application.php +++ b/lib/AppInfo/Application.php @@ -115,10 +115,10 @@ class LoginByNC extends Controller { ), "http" => array( "method" => "POST", - "header" => "Content-Type: application/x-www-form-urlencoded\r\n", + "header" => "", "content" => $postdata ) - ]; + ]; $context = stream_context_create($opts); $file = file_get_contents($this->nclink.'/api/setlog/', false, $context);