Bug 58825: if no pmadb is filled in there should be a decent error
This commit is contained in:
@@ -438,4 +438,4 @@ set_magic_quotes_runtime(0);
|
|||||||
* File Revision - do not change either!
|
* File Revision - do not change either!
|
||||||
*/
|
*/
|
||||||
$cfg['FileRevision'] = '$Revision$';
|
$cfg['FileRevision'] = '$Revision$';
|
||||||
?>
|
?>
|
@@ -89,6 +89,13 @@ if (!defined('PMA_RELATION_LIB_INCLUDED')){
|
|||||||
if ($server == 0
|
if ($server == 0
|
||||||
|| empty($cfg['Server'])
|
|| empty($cfg['Server'])
|
||||||
|| empty($cfg['Server']['pmadb'])) {
|
|| 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;
|
return $cfgRelation;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user