From 2b6277af062de0cce21cd19ad75eed3024a2800b Mon Sep 17 00:00:00 2001 From: novgorodschi catalin Date: Thu, 4 Jun 2026 14:14:17 +0300 Subject: [PATCH] Another correction for language Another correction for language --- GameEngine/Profile.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)) {