mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-03 09:49:28 +02:00
update
This commit is contained in:
parent
ac07c20e2c
commit
33d9366fd9
1 changed files with 1 additions and 1 deletions
|
@ -132,7 +132,7 @@ function setSiteLang() {
|
||||||
} else if ($userLocation) {
|
} else if ($userLocation) {
|
||||||
User_Location::changeLang();
|
User_Location::changeLang();
|
||||||
}
|
}
|
||||||
if (empty($_SESSION['language'])) {
|
if (empty($_SESSION['language']) && !empty($config)) {
|
||||||
setLanguage($config->getLanguage());
|
setLanguage($config->getLanguage());
|
||||||
}
|
}
|
||||||
if (empty($_SESSION['language'])) {
|
if (empty($_SESSION['language'])) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue