add user_language to attributes

This commit is contained in:
Ibnu Maksum
2024-08-19 14:58:52 +07:00
parent 0d966a5e03
commit df5e03a827
2 changed files with 6 additions and 1 deletions

View File

@ -328,7 +328,7 @@ switch ($action) {
$_SESSION['Lang'] = $_L;
file_put_contents($lan_file, json_encode($_L));
}
User::setAttribute("Language", $selected_language);
r2($_SERVER['HTTP_REFERER'], 's', ucwords($selected_language));