Skip to content

Commit

Permalink
Update htaccess.php
Browse files Browse the repository at this point in the history
  • Loading branch information
conseilgouz committed Mar 13, 2024
1 parent a022644 commit 2968102
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/plg_system_cgsecure/htaccess.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@

$session = Factory::getApplication()->getSession();
$sec = $session->get('cgsecure');
$language = Factory::getApplication()->getLanguage();
$language = Factory::getLanguage();
$lang = null; // default language (gb)
if (isset($_SERVER['HTTP_ACCEPT_LANGUAGE'])) {
$lang = substr($_SERVER['HTTP_ACCEPT_LANGUAGE'], 0, 2);
Expand Down

0 comments on commit 2968102

Please sign in to comment.