restore debug code for user preferences (commented out)

This commit is contained in:
Crack
2010-09-02 23:34:44 +02:00
parent aed2e27b3f
commit 171bd10394

View File

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