From 9519b6dff920c70e5df7bafcb184737b6bc949fe Mon Sep 17 00:00:00 2001 From: Mike Beck Date: Tue, 30 Jul 2002 12:51:38 +0000 Subject: [PATCH] Bug 58825: if no pmadb is filled in there should be a decent error --- config.inc.php3 | 2 +- libraries/relation.lib.php3 | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/config.inc.php3 b/config.inc.php3 index fafad40a4..57c79ba4e 100755 --- a/config.inc.php3 +++ b/config.inc.php3 @@ -438,4 +438,4 @@ set_magic_quotes_runtime(0); * File Revision - do not change either! */ $cfg['FileRevision'] = '$Revision$'; -?> +?> \ No newline at end of file diff --git a/libraries/relation.lib.php3 b/libraries/relation.lib.php3 index 672fbe839..4b71ca33b 100644 --- a/libraries/relation.lib.php3 +++ b/libraries/relation.lib.php3 @@ -89,6 +89,13 @@ if (!defined('PMA_RELATION_LIB_INCLUDED')){ if ($server == 0 || empty($cfg['Server']) || empty($cfg['Server']['pmadb'])) { + if ($verbose == TRUE) { + echo 'PMA Database ... ' + . '' . $GLOBALS['strNotOK'] . ' + . [ ' . $GLOBALS['strDocu'] . ' ]
' + . $GLOBALS['strGeneralRelationFeat'] + . ' ' . $GLOBALS['strEnabled'] . ''; + } return $cfgRelation; }