This commit is contained in:
Jordi Sanfeliu 2017-07-05 11:47:16 +02:00
parent de70e10838
commit 2aef7a31d6
2 changed files with 3 additions and 0 deletions

View File

@ -27,6 +27,8 @@
- Added more precision to the values in 'gensens.pm.
- Added string encoding to avoid the message 'Wide character in print at
./monitorix.cgi line ...'. [#186]
- Added to force a standard locale in 'port.pm'. in order to be able for
Monitorix to read the output of system commands (netstat, ...). [#186]
- Fixed an undeclared global symbol "$imgfmt_lc" in 'traffacct.pm'.
- Fixed the MIME type of graphs in 'emailreports.pm' and in 'traffacct.pm' to
honor the 'image_format' option. [#174]

View File

@ -29,6 +29,7 @@ use Exporter 'import';
our @EXPORT = qw(port_init port_update port_cgi);
# Force a standard locale
$ENV{LANG} = "";
setlocale(LC_ALL, "C");
sub port_init {