You've already forked phpmyadmin
mirror of
https://github.com/phpmyadmin/phpmyadmin.git
synced 2026-10-29 21:24:44 +03:00
Merge branch 'QA_5_2'
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
This commit is contained in:
@@ -10,6 +10,7 @@ phpMyAdmin - ChangeLog
|
||||
- issue #17519 Fix Export pages not working in certain conditions
|
||||
- issue #17496 Fix error in table operation page when partitions are broken
|
||||
- issue #17386 Fix system memory and system swap values on Windows
|
||||
- issue #17517 Fix Database Server panel not getting hidden by ShowServerInfo configuration directive
|
||||
|
||||
5.2.0 (2022-05-10)
|
||||
- issue #16521 Upgrade Bootstrap to version 5
|
||||
|
||||
@@ -150,20 +150,14 @@ class HomeController extends AbstractController
|
||||
}
|
||||
|
||||
$databaseServer = [];
|
||||
if ($GLOBALS['server'] > 0) {
|
||||
if ($GLOBALS['server'] > 0 && $GLOBALS['cfg']['ShowServerInfo']) {
|
||||
$hostInfo = '';
|
||||
if (! empty($GLOBALS['cfg']['Server']['verbose'])) {
|
||||
$hostInfo .= $GLOBALS['cfg']['Server']['verbose'];
|
||||
if ($GLOBALS['cfg']['ShowServerInfo']) {
|
||||
$hostInfo .= ' (';
|
||||
}
|
||||
$hostInfo .= $GLOBALS['cfg']['Server']['verbose'] . ' (';
|
||||
}
|
||||
|
||||
if ($GLOBALS['cfg']['ShowServerInfo'] || empty($GLOBALS['cfg']['Server']['verbose'])) {
|
||||
$hostInfo .= $this->dbi->getHostInfo();
|
||||
}
|
||||
|
||||
if (! empty($GLOBALS['cfg']['Server']['verbose']) && $GLOBALS['cfg']['ShowServerInfo']) {
|
||||
$hostInfo .= $this->dbi->getHostInfo();
|
||||
if (! empty($GLOBALS['cfg']['Server']['verbose'])) {
|
||||
$hostInfo .= ')';
|
||||
}
|
||||
|
||||
|
||||
@@ -2199,13 +2199,12 @@
|
||||
</MixedArrayAssignment>
|
||||
</file>
|
||||
<file src="libraries/classes/Controllers/HomeController.php">
|
||||
<InvalidArrayOffset occurrences="10">
|
||||
<InvalidArrayOffset occurrences="9">
|
||||
<code>$GLOBALS['cfg']['LoginCookieValidityDisableWarning']</code>
|
||||
<code>$GLOBALS['cfg']['NavigationDisplayServers']</code>
|
||||
<code>$GLOBALS['cfg']['PmaNoRelation_DisableWarning']</code>
|
||||
<code>$GLOBALS['cfg']['ShowChgPassword']</code>
|
||||
<code>$GLOBALS['cfg']['ShowPhpInfo']</code>
|
||||
<code>$GLOBALS['cfg']['ShowServerInfo']</code>
|
||||
<code>$GLOBALS['cfg']['SuhosinDisableWarning']</code>
|
||||
<code>$GLOBALS['cfg']['ThemeManager']</code>
|
||||
<code>$GLOBALS['cfg']['TranslationWarningThreshold']</code>
|
||||
@@ -2231,10 +2230,6 @@
|
||||
<PossiblyNullArrayOffset occurrences="1">
|
||||
<code>$GLOBALS['language_stats']</code>
|
||||
</PossiblyNullArrayOffset>
|
||||
<PossiblyUndefinedArrayOffset occurrences="2">
|
||||
<code>$GLOBALS['cfg']['ShowServerInfo']</code>
|
||||
<code>$GLOBALS['cfg']['ShowServerInfo']</code>
|
||||
</PossiblyUndefinedArrayOffset>
|
||||
<UnusedVariable occurrences="1">
|
||||
<code>$collationsList</code>
|
||||
</UnusedVariable>
|
||||
|
||||
Reference in New Issue
Block a user