diff --git a/adminer/include/connect.inc.php b/adminer/include/connect.inc.php index 63a40ae7..3a92c498 100644 --- a/adminer/include/connect.inc.php +++ b/adminer/include/connect.inc.php @@ -23,6 +23,9 @@ function connect_error() { } echo "
" . lang('%s version: %s through PHP extension %s', $drivers[DRIVER], "$connection->server_info", "$connection->extension") . "\n"; echo "
" . lang('Logged as: %s', "" . h(logged_user()) . "") . "\n"; + if ($_GET["refresh"]) { + set_session("dbs", null); + } $databases = get_databases(); if ($databases) { $scheme = support("scheme"); @@ -40,6 +43,7 @@ function connect_error() { } echo "\n"; echo "
\n"; + echo "" . lang('Refresh') . "\n"; echo "\n"; } } diff --git a/adminer/lang/cs.inc.php b/adminer/lang/cs.inc.php index 00f915ad..3b882c55 100644 --- a/adminer/lang/cs.inc.php +++ b/adminer/lang/cs.inc.php @@ -18,6 +18,7 @@ $translations = array( 'Session support must be enabled.' => 'Session proměnné musí být povolené.', 'Session expired, please login again.' => 'Session vypršela, přihlašte se prosím znovu.', '%s version: %s through PHP extension %s' => 'Verze %s: %s přes PHP extenzi %s', + 'Refresh' => 'Obnovit', 'Privileges' => 'Oprávnění', 'Create user' => 'Vytvořit uživatele', diff --git a/changes.txt b/changes.txt index 59ef5546..2f28da96 100644 --- a/changes.txt +++ b/changes.txt @@ -8,6 +8,7 @@ Highlight and edit SQL command in processlist Recognize $$ strings in SQL command (PostgreSQL) Always display all drivers Timestamp at the end of export +Link to refresh database cache (bug #3102451) Disable XSS "protection" of IE8 Immunity against zend.ze1_compatibility_mode Fix last page with empty result set