path fix for public images
[openemr.git] / phpmyadmin / chk_rel.php
blobe62288401ef9a8718ee9dec5bc7ac2895e29c3b9
1 <?php
2 /* vim: set expandtab sw=4 ts=4 sts=4: */
3 /**
4 * Displays status of phpMyAdmin configuration storage
6 * @package PhpMyAdmin
7 */
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();
30 $response->addHTML(
31 PMA_getRelationsParamDiagnostic($cfgRelation)