From 171bd10394199a9b8b9274d1ba5bce81e64f9596 Mon Sep 17 00:00:00 2001 From: Crack Date: Thu, 2 Sep 2010 23:34:44 +0200 Subject: [PATCH] restore debug code for user preferences (commented out) --- libraries/user_preferences.inc.php | 14 ++++++++++++++ 1 file changed, 14 insertions(+) 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']) {