We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e582cd5 commit 9a804e8Copy full SHA for 9a804e8
1 file changed
inc/scripts/fns.php
@@ -14,8 +14,8 @@
14
* @return string The first two lowercase letter of the browser language.
15
*/
16
function get_browser_lang() {
17
- $lang = explode(',' ,@$_SERVER['HTTP_ACCEPT_LANGUAGE']);
18
- return htmlspecialchars(strtolower(substr(chop($lang[0]), 0, 2)));
+ $aLang = explode(',' ,@$_SERVER['HTTP_ACCEPT_LANGUAGE']);
+ return htmlspecialchars(strtolower(substr(chop($aLang[0]), 0, 2)));
19
}
20
21
/**
0 commit comments