mirror of
https://github.com/billz/raspap-webgui.git
synced 2025-03-01 10:31:47 +00:00
Remove valid RASPI_5GHZ_ISO_ALPHA2 country, set hwModeDisabled
This commit is contained in:
@@ -881,12 +881,12 @@ function getCountryCodes($locale = 'en', $flag = true) {
|
||||
if (count($parts) >= 2) {
|
||||
$countryCode = $parts[0];
|
||||
if ($flag) {
|
||||
$countryFlag = $parts[3] . ' ';
|
||||
$countryName = $parts[4];
|
||||
$countryFlag = $parts[3];
|
||||
$countryName = $parts[4] .' ';
|
||||
} else {
|
||||
$countryName = $parts[3];
|
||||
}
|
||||
$countryData[$countryCode] = $countryFlag .$countryName;
|
||||
$countryData[$countryCode] = $countryName.$countryFlag;
|
||||
}
|
||||
}
|
||||
return $countryData;
|
||||
|
Reference in New Issue
Block a user