Update index.php

This commit is contained in:
Luke 2024-08-25 10:57:46 +02:00 committed by GitHub
parent 5a007aaeed
commit d360b1ea71
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -127,7 +127,7 @@ if($lang == 'zh' || $lang == 'pt' ){
$lang = substr($_SERVER['HTTP_ACCEPT_LANGUAGE'], 0, 5);
}
$acceptLang = ['de','es','it','zh-CN','nl','pl','el','pt-BR','ru'];
$acceptLang = ['de','es','it','zh-CN','nl','pl','el','pt-BR','ru','cs'];
$lang = in_array($lang, $acceptLang) ? $lang : 'en';
$lang = strtolower($lang);
require_once "lang/{$lang}.php";