mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-03 01:39:24 +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) {
|
||||
User_Location::changeLang();
|
||||
}
|
||||
if (empty($_SESSION['language'])) {
|
||||
if (empty($_SESSION['language']) && !empty($config)) {
|
||||
setLanguage($config->getLanguage());
|
||||
}
|
||||
if (empty($_SESSION['language'])) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue