2 /* vim: set expandtab sw=4 ts=4 sts=4: */
4 * Displays status of phpMyAdmin configuration storage
9 require_once 'libraries/common.inc.php';
11 // If request for creating the pmadb
12 if (isset($_REQUEST['create_pmadb'])) {
13 if (PMA_createPMADatabase()) {
14 PMA_fixPMATables('phpmyadmin');
18 // If request for creating all PMA tables.
19 if (isset($_REQUEST['fixall_pmadb'])) {
20 PMA_fixPMATables($GLOBALS['db']);
23 $cfgRelation = PMA_getRelationsParam();
24 // If request for creating missing PMA tables.
25 if (isset($_REQUEST['fix_pmadb'])) {
26 PMA_fixPMATables($cfgRelation['db']);
29 $response = PMA_Response
::getInstance();
31 PMA_getRelationsParamDiagnostic($cfgRelation)