2 /* vim: set expandtab sw=4 ts=4 sts=4: */
4 * Displays status of phpMyAdmin configuration storage
8 use PhpMyAdmin\Relation
;
9 use PhpMyAdmin\Response
;
11 require_once 'libraries/common.inc.php';
13 // If request for creating the pmadb
14 if (isset($_REQUEST['create_pmadb'])) {
15 if (Relation
::createPmaDatabase()) {
16 Relation
::fixPmaTables('phpmyadmin');
20 // If request for creating all PMA tables.
21 if (isset($_REQUEST['fixall_pmadb'])) {
22 Relation
::fixPmaTables($GLOBALS['db']);
25 $cfgRelation = Relation
::getRelationsParam();
26 // If request for creating missing PMA tables.
27 if (isset($_REQUEST['fix_pmadb'])) {
28 Relation
::fixPmaTables($cfgRelation['db']);
31 $response = Response
::getInstance();
33 Relation
::getRelationsParamDiagnostic($cfgRelation)