From aac024d0d1ca475ebb3a418059876582b6c2fd51 Mon Sep 17 00:00:00 2001 From: Luke <17616949+nice42q@users.noreply.github.com> Date: Mon, 26 Aug 2024 16:08:34 +0200 Subject: [PATCH] Update index.php --- index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.php b/index.php index ec062c7..199ccf1 100644 --- a/index.php +++ b/index.php @@ -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','cs']; +$acceptLang = ['de','es','it','zh-CN','nl','pl','el','pt-BR','ru','cs','fa']; $lang = in_array($lang, $acceptLang) ? $lang : 'en'; $lang = strtolower($lang); require_once "lang/{$lang}.php";