cleanup check

This commit is contained in:
xiaomlove
2024-03-23 04:51:59 +08:00
parent 9f211df038
commit 287302df7f
17 changed files with 207 additions and 9 deletions

View File

@@ -59,4 +59,10 @@ class Locale
return self::$languageMaps[$lang] ?? null;
}
public static function getDefault()
{
$defaultLang = get_setting("main.defaultlang");
return self::$languageMaps[$defaultLang] ?? null;
}
}