1
0
Fork 0
mirror of https://github.com/DanielnetoDotCom/YouPHPTube synced 2025-10-03 01:39:24 +02:00
This commit is contained in:
Daniel Neto 2023-03-23 17:07:02 -03:00
parent ac07c20e2c
commit 33d9366fd9

View file

@ -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'])) {