Changeset 23

Show
Ignore:
Timestamp:
02/10/05 21:24:55
Author:
brad
Message:

Update to readme.txt, corrections for dnsbltool.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/plugins/dnsbl/dnsbltool

    r18 r23  
    2424    } 
    2525 
    26     $PLUGIN_DIR = $MT_DIR; 
    27     ($MT_DIR, $PLUGIN_ENVELOPE) = $MT_DIR =~ m|(.*[\\/])(plugins[\\/].*)$|i; 
     26    if ($MT_DIR =~ m!plugins[\\/]!) { 
     27        $PLUGIN_DIR = $MT_DIR; 
     28        ($MT_DIR, $PLUGIN_ENVELOPE) = $MT_DIR =~ m|(.*[\\/])(plugins[\\/].*)?$|i; 
     29    } 
     30    $MT_DIR .= '/' unless $MT_DIR =~ m![\\/]$!; 
    2831 
    2932    unshift @INC, $MT_DIR . 'lib'; 
  • trunk/readme.txt

    r21 r23  
    107107    * Added option granting a free pass for authenticated commenters. 
    108108    * Added option granting a free pass for comments without any URLs. 
     109    * Added option granting approval for comments whose URL matches 
     110      a previously approved comment's URL (but only if the text of the 
     111      comment itself contains no additional URLs). 
    109112 
    11011311/5/2004 - 1.1 release