Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMadhura Jayaratne <madhura.cj@gmail.com>2015-01-08 15:19:08 +0300
committerMadhura Jayaratne <madhura.cj@gmail.com>2015-01-08 15:19:08 +0300
commit598bae384be48269efce722059a113750ee0881f (patch)
treea789f40f38fa80c2f8a3543ab96d9ab14ff04931 /chk_rel.php
parent1a4cc9756ba3c126835ae79c7fcb700e7c710e19 (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.php12
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)
);
?>