mirror of
https://github.com/vrana/adminer.git
synced 2025-08-07 23:27:17 +02:00
URL parameter ?ext=pdo to force using PDO
This commit is contained in:
@@ -98,6 +98,7 @@ define(
|
||||
preg_replace('~\?.*~', '', relative_uri()) . '?'
|
||||
. (sid() ? SID . '&' : '')
|
||||
. (SERVER !== null ? DRIVER . "=" . urlencode(SERVER) . '&' : '')
|
||||
. ($_GET["ext"] ? "ext=" . urlencode($_GET["ext"]) . '&' : '')
|
||||
. (isset($_GET["username"]) ? "username=" . urlencode($_GET["username"]) . '&' : '')
|
||||
. (DB != "" ? 'db=' . urlencode(DB) . '&' . (isset($_GET["ns"]) ? "ns=" . urlencode($_GET["ns"]) . "&" : "") : '')
|
||||
);
|
||||
|
Reference in New Issue
Block a user