From: <jgr...@us...> - 2003-03-25 05:25:28
|
Update of /cvsroot/popfile/engine/Classifier In directory sc8-pr-cvs1:/tmp/cvs-serv20897/Classifier Modified Files: Bayes.pm Log Message: Make the UI pluggable; make SMTP, NNTP and POP3 modules register and handle their own configuration UI; factor the HTTP code out of the UI and into own class; implement XML-RPC interface; make test suite allow selection of tests to run; change the way POPFile reports its startup; make the version string work Index: Bayes.pm =================================================================== RCS file: /cvsroot/popfile/engine/Classifier/Bayes.pm,v retrieving revision 1.117 retrieving revision 1.118 diff -C2 -d -r1.117 -r1.118 *** Bayes.pm 21 Mar 2003 23:10:32 -0000 1.117 --- Bayes.pm 25 Mar 2003 05:24:54 -0000 1.118 *************** *** 832,837 **** $xpl .= "<http://"; ! $xpl .= $self->module_config_( 'pop3', 'local' )?"127.0.0.1":$self->{hostname__}; ! $xpl .= ":" . $self->module_config_( 'ui', 'port' ) . "/jump_to_message?view=$temp_file>$eol"; if ( $self->global_config_( 'xpl' ) && ( $self->{parameters__}{$classification}{quarantine} == 0 ) ) { --- 832,837 ---- $xpl .= "<http://"; ! $xpl .= $self->module_config_( 'html', 'local' )?"127.0.0.1":$self->{hostname__}; ! $xpl .= ":" . $self->module_config_( 'html', 'port' ) . "/jump_to_message?view=$temp_file>$eol"; if ( $self->global_config_( 'xpl' ) && ( $self->{parameters__}{$classification}{quarantine} == 0 ) ) { *************** *** 899,904 **** return $classification; } - - # GETTER/SETTERS # --------------------------------------------------------------------------------------------- --- 899,902 ---- |