mirror of https://github.com/mikaku/Monitorix.git
small fix. #186
This commit is contained in:
parent
de70e10838
commit
2aef7a31d6
2
Changes
2
Changes
|
@ -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]
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue