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 15:51:36 -03:00
parent 5e5895624c
commit c5efe454d4

View file

@ -128,9 +128,9 @@ function setSiteLang()
if(!class_exists('Configuration')){
require $global['systemRootPath'] . 'objects/configuration.php';
}
require_once $global['systemRootPath'] . 'plugin/AVideoPlugin.php';
$config = new Configuration();
}
require_once $global['systemRootPath'] . 'plugin/AVideoPlugin.php';
$userLocation = false;
$obj = AVideoPlugin::getDataObjectIfEnabled('User_Location');
$userLocation = !empty($obj) && !empty($obj->autoChangeLanguage);