dashboard show redis version

This commit is contained in:
xiaomlove
2024-10-20 23:47:40 +08:00
parent ed100302a8
commit a514ed57f8
8 changed files with 46 additions and 8 deletions

View File

@@ -5319,7 +5319,7 @@ function torrentTags($tags = 0, $type = 'checkbox')
return $html;
}
function saveSetting($prefix, $nameAndValue, $autoload = 'yes')
function saveSetting(string $prefix, array $nameAndValue, string $autoload = 'yes'): void
{
$prefix = strtolower($prefix);
$datetimeNow = date('Y-m-d H:i:s');