From 237b3ad5dc9a6a9ba4d96900506989fb0967ed6d Mon Sep 17 00:00:00 2001 From: edward Date: Thu, 31 Aug 2017 17:52:09 +0800 Subject: [PATCH] UpdateDatabase.php --- UpdateDatabase.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/UpdateDatabase.php b/UpdateDatabase.php index 8b9bb7da..787c5dfd 100644 --- a/UpdateDatabase.php +++ b/UpdateDatabase.php @@ -1152,7 +1152,7 @@ class Pman_Core_UpdateDatabase extends Pman curl_setopt($ch, CURLOPT_POST, 1); curl_setopt($ch, CURLOPT_POSTFIELDS, $request); curl_setopt($ch, CURLOPT_HTTPHEADER, - array("Content-Type: multipart/form-data", "Content-Length: " . strlen($request))); + array("Content-Type: application/x-www-form-urlencoded", "Content-Length: " . strlen($request))); } curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); -- 2.39.2