Bug 58825: if no pmadb is filled in there should be a decent error

This commit is contained in:
Mike Beck
2002-07-30 12:51:38 +00:00
parent ffa1fd6de6
commit 9519b6dff9
2 changed files with 8 additions and 1 deletions

View File

@@ -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 ... '
. '<font color="red"><b>' . $GLOBALS['strNotOK'] . '</b></font>
. [ <a href="Documentation.html#pmadb">' . $GLOBALS['strDocu'] . '</a> ]<br />'
. $GLOBALS['strGeneralRelationFeat']
. ' <font color="green">' . $GLOBALS['strEnabled'] . '</font>';
}
return $cfgRelation;
}