diff --git a/libraries/user_preferences.inc.php b/libraries/user_preferences.inc.php index e173d55b3..2aad2e63a 100644 --- a/libraries/user_preferences.inc.php +++ b/libraries/user_preferences.inc.php @@ -48,6 +48,20 @@ if (!empty($_GET['saved'])) { $message->display(); } +/* debug code +$arr = ConfigFile::getInstance()->getConfigArray(); +$arr2 = array(); +foreach ($arr as $k => $v) { + $arr2[] = "$k " . var_export($v, true); +} +$arr2 = implode(', ', $arr2); +$arr2 .= '
Blacklist: ' . (empty($cfg['UserprefsDisallow']) + ? 'empty' + : implode(', ', $cfg['UserprefsDisallow'])); +$msg = PMA_Message::notice('Settings: ' . $arr2); +$msg->display(); +//*/ + // warn about using session storage for settings $cfgRelation = PMA_getRelationsParam(); if (!$cfgRelation['userconfigwork']) {