true, 'variable' => formatVariable($_REQUEST['varName'],$varValue[1]) )) ); exit(json_encode(array( 'success' => false, 'error' => __('Setting variable failed') )) ); break; } } } /** * Displays the links */ require './libraries/server_links.inc.php'; /** * Displays the sub-page heading */ echo '

' . "\n" . ($cfg['MainPageIconic'] ? '' : '') . '' . __('Server variables and settings') . "\n" . PMA_showMySQLDocu('server_system_variables','server_system_variables') . '

' . "\n"; /** * Sends the queries and buffers the results */ $serverVarsSession = PMA_DBI_fetch_result('SHOW SESSION VARIABLES;', 0, 1); $serverVars = PMA_DBI_fetch_result('SHOW GLOBAL VARIABLES;', 0, 1); /** * Displays the page */ ?> $value) { ?>
()
'.implode(' ',PMA_formatByteDown($value,3,3)).''; else return PMA_formatNumber($value, 0); } return htmlspecialchars($value); } ?>