[geeklog-cvs] geeklog-1.3/plugins/spamx config.php,1.5,1.6

blaine at iowaoutdoors.org blaine at iowaoutdoors.org
Sun Oct 3 14:30:17 EDT 2004


Update of /var/cvs/geeklog-1.3/plugins/spamx
In directory www:/tmp/cvs-serv14443/plugins/spamx

Modified Files:
	config.php 
Log Message:
Added config parm to set default action if $_CONF['spamx'] not defined

Index: config.php
===================================================================
RCS file: /var/cvs/geeklog-1.3/plugins/spamx/config.php,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** config.php	25 Sep 2004 15:08:52 -0000	1.5
--- config.php	3 Oct 2004 18:30:15 -0000	1.6
***************
*** 1,37 ****
  <?php
- 
  /**
! * File: config.php
! * This is the config file for the Geeklog SpamX Plug-in!
! *
! * Copyright (C) 2004 by the following authors:
! *
! * @ Author		Tom Willett		tomw at pigstye.net
! *
! * Licensed under GNU General Public License
! *
! */
  
  $_SPX_CONF['version'] = '1.0.1';
  
  // URL blacklist changes RSS feed (currently only RSS v1.0 is supported)
  $_SPX_CONF['rss_url'] = 'http://www.jayallen.org/comment_spam/feeds/blacklist-changes.rdf';
- 
  // Entire MT-Blacklist (for inital import)
  $_SPX_CONF['mtblacklist_url'] = 'http://www.jayallen.org/comment_spam/blacklist.txt';
- 
  // SpamX urls
  $_SPX_CONF['spamx_rss_url'] = 'http://www.pigstye.net/backend/spamx_users.rdf';
  $_SPX_CONF['spamx_submit_url'] = 'http://www.pigstye.net/gplugs/spamx/submit.php';
- 
  // address which mail admin module will use
  $_SPX_CONF['notification_email'] = $_CONF['site_mail'];
- 
  // This sets Ban Plugin Table Prefix the Same as Geeklog
  $_SPX_table_prefix = $_DB_table_prefix;
- 
  // DO NOT CHANGE THE STUFF BELOW UNLESS YOU KNOW WHAT YOU ARE DOING
  // Add SpamX Plugin table to $_TABLES array
! $_TABLES['spamx']      = $_SPX_table_prefix . 'spamx';
  
  ?>
--- 1,31 ----
  <?php
  /**
!  * File: config.php
!  * This is the config file for the Geeklog SpamX Plug-in!
!  * 
!  * Copyright (C) 2004 by the following authors:
!  * Author		Tom Willett		tomw at pigstye.net
!  * 
!  * Licensed under GNU General Public License
!  */
  
  $_SPX_CONF['version'] = '1.0.1';
+ // Default Spamx Action
+ $_SPX_CONF['action'] = 128; // Default is ignore comment
  
  // URL blacklist changes RSS feed (currently only RSS v1.0 is supported)
  $_SPX_CONF['rss_url'] = 'http://www.jayallen.org/comment_spam/feeds/blacklist-changes.rdf';
  // Entire MT-Blacklist (for inital import)
  $_SPX_CONF['mtblacklist_url'] = 'http://www.jayallen.org/comment_spam/blacklist.txt';
  // SpamX urls
  $_SPX_CONF['spamx_rss_url'] = 'http://www.pigstye.net/backend/spamx_users.rdf';
  $_SPX_CONF['spamx_submit_url'] = 'http://www.pigstye.net/gplugs/spamx/submit.php';
  // address which mail admin module will use
  $_SPX_CONF['notification_email'] = $_CONF['site_mail'];
  // This sets Ban Plugin Table Prefix the Same as Geeklog
  $_SPX_table_prefix = $_DB_table_prefix;
  // DO NOT CHANGE THE STUFF BELOW UNLESS YOU KNOW WHAT YOU ARE DOING
  // Add SpamX Plugin table to $_TABLES array
! $_TABLES['spamx'] = $_SPX_table_prefix . 'spamx';
  
  ?>




More information about the geeklog-cvs mailing list