1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-07 23:27:17 +02:00

Use Lang::$translations instead of $translations

This commit is contained in:
Jakub Vrana
2025-03-29 22:43:44 +01:00
parent 30a8c4caca
commit 695ce8c4da
51 changed files with 69 additions and 70 deletions

View File

@@ -39,7 +39,7 @@ if ($_GET["script"] == "version") {
exit;
}
global $translations; // allows including Adminer inside a function
// Adminer doesn't use any global variables; they used to be declared here
if (!$_SERVER["REQUEST_URI"]) { // IIS 5 compatibility
$_SERVER["REQUEST_URI"] = $_SERVER["ORIG_PATH_INFO"];