diff --git a/GameEngine/Profile.php b/GameEngine/Profile.php index 0a4b656e..e99b2792 100755 --- a/GameEngine/Profile.php +++ b/GameEngine/Profile.php @@ -223,7 +223,7 @@ class Profile { // Language change if (!empty($post['sprache'])) { // whitelist – pune aici limbile pe care le ai în /lang/ - $allowed = ['en','ro','de','it','fr','es']; + $allowed = ['en','fr','it','ro','zh']; $lang = strtolower(trim($post['sprache'])); if (in_array($lang, $allowed, true)) {