Fixes #344: English language file must be en-us instead of en-en

This commit is contained in:
azett 2024-03-23 12:01:33 +01:00
parent a62ccabecf
commit da88e61783
2 changed files with 31 additions and 31 deletions

View File

@ -309,7 +309,6 @@ if (class_exists('AdminPanelAction')) {
// Browser recognition does not always work correctly. // Browser recognition does not always work correctly.
// This also depends on whether a current browscap has been set in php.ini or not. // This also depends on whether a current browscap has been set in php.ini or not.
function browser() { function browser() {
$lang = lang_load('plugin:support'); $lang = lang_load('plugin:support');
$user_agent = $_SERVER ['HTTP_USER_AGENT']; $user_agent = $_SERVER ['HTTP_USER_AGENT'];
@ -358,6 +357,7 @@ if (class_exists('AdminPanelAction')) {
$this->smarty->assign('support', $support); $this->smarty->assign('support', $support);
} }
} }
// register stylesheet // register stylesheet