mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-03 01:39:24 +02:00
update
This commit is contained in:
parent
5e5895624c
commit
c5efe454d4
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue