mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-14 12:30:49 +08:00
add lang: nl + deprecate lang/_target
This commit is contained in:
@@ -1372,7 +1372,7 @@ function get_user_locale(int $uid): string
|
||||
if (empty($result) || empty($result[0]['site_lang_folder'])) {
|
||||
return "en";
|
||||
}
|
||||
return \App\Http\Middleware\Locale::$languageMaps[$result[0]['site_lang_folder']] ?? 'en';
|
||||
return \App\Http\Middleware\Locale::$languageMaps[$result[0]['site_lang_folder']] ?? $result[0]['site_lang_folder'];
|
||||
}
|
||||
|
||||
function send_admin_success_notification(string $msg = ""): void {
|
||||
|
||||
Reference in New Issue
Block a user