From d78980e1514e56a47115f6e32335689d925bebf2 Mon Sep 17 00:00:00 2001 From: Piotr Przybylski Date: Thu, 23 Oct 2008 17:04:17 +0000 Subject: [PATCH] Setup script: language cookie wasn't updated due to PMA_MINIMUM_COMMON --- setup/lib/common.inc.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/setup/lib/common.inc.php b/setup/lib/common.inc.php index d49cdb663..30174fb70 100644 --- a/setup/lib/common.inc.php +++ b/setup/lib/common.inc.php @@ -25,6 +25,9 @@ if ($error_handler->countErrors() > 0) { $error_handler->dispAllErrors(); } +// Save current language in a cookie, required since we use PMA_MINIMUM_COMMON +PMA_setCookie('pma_lang', $GLOBALS['lang']); + // Load setup script translation $lang_file = './setup/lang/' . $GLOBALS['available_languages'][$GLOBALS['lang']][1] . '.inc.php'; if (!file_exists($lang_file)) {