mirror of
https://github.com/vrana/adminer.git
synced 2026-03-06 12:31:45 +01:00
Disable redirections in HTTP based drivers
This commit is contained in:
@@ -426,6 +426,8 @@ if (isset($_GET["simpledb"])) {
|
||||
'method' => 'POST', // may not fit in URL with GET
|
||||
'content' => $query,
|
||||
'ignore_errors' => 1, // available since PHP 5.2.10
|
||||
'follow_location' => 0,
|
||||
'max_redirects' => 0,
|
||||
))));
|
||||
if (!$file) {
|
||||
$connection->error = $php_errormsg;
|
||||
|
||||
Reference in New Issue
Block a user