diff options
| author | fukachan <fukachan> | 2003-10-18 06:50:29 +0000 |
|---|---|---|
| committer | fukachan <fukachan> | 2003-10-18 06:50:29 +0000 |
| commit | 6bf4b8f3a4e76576cb5cae41f7fc6c8a0572e1c2 (patch) | |
| tree | 1d666b900477436ab424513a52841a894bc68ec5 /fml/lib/FML/Command | |
| parent | cb7dc1400d1ef1b6051a65457d9cb7407e029349 (diff) | |
| download | fml8-6bf4b8f3a4e76576cb5cae41f7fc6c8a0572e1c2.tar.gz fml8-6bf4b8f3a4e76576cb5cae41f7fc6c8a0572e1c2.tar.bz2 fml8-6bf4b8f3a4e76576cb5cae41f7fc6c8a0572e1c2.zip | |
define log_file_*_charset and modify log module to use it.
Diffstat (limited to 'fml/lib/FML/Command')
| -rw-r--r-- | fml/lib/FML/Command/Admin/log.pm | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/fml/lib/FML/Command/Admin/log.pm b/fml/lib/FML/Command/Admin/log.pm index c250fafd..89580351 100644 --- a/fml/lib/FML/Command/Admin/log.pm +++ b/fml/lib/FML/Command/Admin/log.pm @@ -4,7 +4,7 @@ # All rights reserved. This program is free software; you can # redistribute it and/or modify it under the same terms as Perl itself. # -# $FML: log.pm,v 1.19 2003/10/07 08:58:06 fukachan Exp $ +# $FML: log.pm,v 1.20 2003/10/15 08:16:24 fukachan Exp $ # package FML::Command::Admin::log; @@ -105,9 +105,7 @@ sub _show_log my $linecount = 0; my $maxline = 0; my $curproc = $self->{ _curproc }; - my $charset = ($is_cgi ? - $curproc->get_charset("cgi") : - $curproc->language_default() ); + my $charset = $curproc->get_charset($is_cgi ? "cgi" : "log_file"); use Mail::Message::Encode; my $obj = new Mail::Message::Encode; |
