Patch #531864 - display something in title when no db

This commit is contained in:
Loïc Chapeaux
2002-03-22 09:00:38 +00:00
parent 68d00f534d
commit eb8b7cccdc
2 changed files with 3 additions and 1 deletions

View File

@@ -86,7 +86,7 @@ if (isset($table)) {
$title .= (empty($title) ? '' : '.') . str_replace('\'', '\\\'', $table);
}
if (!empty($cfgServer) && isset($cfgServer['host'])) {
$title .= (empty($title) ? '' : ' ')
$title .= (empty($title) ? 'phpMyAdmin ' : ' ')
. sprintf($strRunning, (empty($cfgServer['verbose']) ? str_replace('\'', '\\\'', $cfgServer['host']) : str_replace('\'', '\\\'', $cfgServer['verbose'])));
}
$title .= (empty($title) ? '' : ' - ') . 'phpMyAdmin ' . PMA_VERSION;