- if (strcmp ($cfg['lang'], 'auto') == 0)
- {
- if (isset ($_SERVER['HTTP_ACCEPT_LANGUAGE']))
- $l = substr ($_SERVER['HTTP_ACCEPT_LANGUAGE'], 0, 2);
- else
+ if (strcmp($cfg['lang'], 'auto') == 0) {
+ if (isset($_SERVER['HTTP_ACCEPT_LANGUAGE'])) {
+ $l = substr($_SERVER['HTTP_ACCEPT_LANGUAGE'], 0, 2);
+ } else {