user preferences saving and integration

This commit is contained in:
Crack
2010-06-20 21:34:13 +02:00
parent f920e44af4
commit 9f44d864b6
17 changed files with 291 additions and 170 deletions

View File

@@ -30,9 +30,6 @@ restore_error_handler();
// Save current language in a cookie, required since we use PMA_MINIMUM_COMMON
$GLOBALS['PMA_Config']->setCookie('pma_lang', $GLOBALS['lang']);
if (!isset($_SESSION['ConfigFile'])) {
$_SESSION['ConfigFile'] = array();
}
ConfigFile::getInstance()->setPersistKeys(array(
'DefaultLang',
'ServerDefault',