2 /* vim: set expandtab sw=4 ts=4 sts=4: */
4 * Displays status of phpMyAdmin configuration storage
8 use PMA\libraries\Response
;
10 require_once 'libraries/common.inc.php';
12 // If request for creating the pmadb
13 if (isset($_REQUEST['create_pmadb'])) {
14 if (PMA_createPMADatabase()) {
15 PMA_fixPMATables('phpmyadmin');
19 // If request for creating all PMA tables.
20 if (isset($_REQUEST['fixall_pmadb'])) {
21 PMA_fixPMATables($GLOBALS['db']);
24 $cfgRelation = PMA_getRelationsParam();
25 // If request for creating missing PMA tables.
26 if (isset($_REQUEST['fix_pmadb'])) {
27 PMA_fixPMATables($cfgRelation['db']);
30 $response = Response
::getInstance();
32 PMA_getRelationsParamDiagnostic($cfgRelation)