Set User-Agent directly

Signed-off-by: Michal Čihař <michal@cihar.com>
This commit is contained in:
Michal Čihař 2016-08-29 11:29:50 +02:00
parent 5ecc194ebf
commit d343315245

View File

@ -4961,7 +4961,8 @@ class Util
'method' => $method,
'request_fulluri' => true,
'timeout' => $connection_timeout,
'header' => "Accept: */*\nUser-Agent: phpMyAdmin",
'user_agent' => 'phpMyAdmin',
'header' => "Accept: */*",
)
);
if ($header) {