From: Pero Brbora Date: Sun, 25 Feb 2018 11:53:25 +0000 (+0100) Subject: Add $driver to global variables X-Git-Tag: v4.6.3~45 X-Git-Url: https://git.joonet.de/?a=commitdiff_plain;h=6c63c2f91e1e444957a97c4418cd871f9b1102b2;p=adminer.git Add $driver to global variables --- diff --git a/adminer/include/bootstrap.inc.php b/adminer/include/bootstrap.inc.php index 42ff717c..b07e68cf 100644 --- a/adminer/include/bootstrap.inc.php +++ b/adminer/include/bootstrap.inc.php @@ -33,7 +33,7 @@ if ($_GET["script"] == "version") { exit; } -global $adminer, $connection, $driver, $drivers, $edit_functions, $enum_length, $error, $functions, $grouping, $HTTPS, $inout, $jush, $LANG, $langs, $on_actions, $operators, $permanent, $structured_types, $has_token, $token, $translations, $types, $unsigned, $VERSION; // allows including Adminer inside a function +global $adminer, $connection, $driver, $drivers, $edit_functions, $enum_length, $error, $functions, $grouping, $HTTPS, $inout, $jush, $LANG, $langs, $on_actions, $permanent, $structured_types, $has_token, $token, $translations, $types, $unsigned, $VERSION; // allows including Adminer inside a function if (!$_SERVER["REQUEST_URI"]) { // IIS 5 compatibility $_SERVER["REQUEST_URI"] = $_SERVER["ORIG_PATH_INFO"];