Skip to content

Commit

Permalink
Added FIXME note that setlocale can fail in one case
Browse files Browse the repository at this point in the history
  • Loading branch information
Edmondas Girkantas committed Nov 13, 2012
1 parent 55e1617 commit 8c8267c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions install/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
$language = "en_EN";
}

# FIXME: setlocale can fail if locale package is not installed ion the systme for that language
setlocale(LC_ALL, $language, $language.'.UTF-8');
$gettext_domain = 'messages';
if (! function_exists('bindtextdomain')) die(error('You have to install PHP gettext extension!'));
Expand Down

0 comments on commit 8c8267c

Please sign in to comment.