diff options
author | Madhura Jayaratne <madhura.cj@gmail.com> | 2015-01-08 15:19:08 +0300 |
---|---|---|
committer | Madhura Jayaratne <madhura.cj@gmail.com> | 2015-01-08 15:19:08 +0300 |
commit | 598bae384be48269efce722059a113750ee0881f (patch) | |
tree | a789f40f38fa80c2f8a3543ab96d9ab14ff04931 /chk_rel.php | |
parent | 1a4cc9756ba3c126835ae79c7fcb700e7c710e19 (diff) |
#1580 Individual Zeroconf PMA tables support
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
Diffstat (limited to 'chk_rel.php')
-rw-r--r-- | chk_rel.php | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/chk_rel.php b/chk_rel.php index e7879a52c5..3a55d73399 100644 --- a/chk_rel.php +++ b/chk_rel.php @@ -8,14 +8,20 @@ require_once 'libraries/common.inc.php'; -// If request for fixing PMA tables. -if (isset($_REQUEST['fix_pmadb'])) { +// If request for creating all PMA tables. +if (isset($_REQUEST['create_pmadb'])) { PMA_fixPMATables($GLOBALS['db']); } +$cfgRelation = PMA_getRelationsParam(); +// If request for creating missing PMA tables. +if (isset($_REQUEST['fix_pmadb'])) { + PMA_fixPMATables($cfgRelation['db']); +} + $response = PMA_Response::getInstance(); $response->addHTML( - PMA_getRelationsParamDiagnostic(PMA_getRelationsParam()) + PMA_getRelationsParamDiagnostic($cfgRelation) ); ?> |