Changeset 200

Show
Ignore:
Timestamp:
01/25/08 22:43:21 (5 years ago)
Author:
d0nut
Message:

released version 1.0 of ipban

Location:
ipban
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • ipban/files/lib/system/event/listener/IPBanOptionFormListener.class.php

    r183 r200  
    4141                                        return; 
    4242                                         
    43                                 $content = "order allow,deny\n"; 
     43                                $content = "<IfModule mod_access.c>\n order allow,deny\n"; 
    4444                                foreach(explode("\n", StringUtil::unifyNewlines($options['USER_IPBAN_CONTENT'])) as $line) { 
    45                                         $content .= "deny from $line\n"; 
     45                                        $content .= " deny from $line\n"; 
    4646                                } 
    47                                 $content .= "allow from all"; 
     47                                $content .= " allow from all\n</IfModule>"; 
    4848 
    4949                                $file->write("\n# WCF-IPBAN-START\n"); 
  • ipban/package.xml

    r196 r200  
    55                <packagename>IP-BAN</packagename> 
    66                <packagedescription>Tool to ban ip-adresses</packagedescription> 
    7                 <version>0.9.1</version> 
     7                <version>1.0.0</version> 
    88                <date>DATE</date> 
    99                <plugin>com.woltlab.wcf</plugin> 
     
    3131         
    3232        <instructions type="update" fromversion="0.9.0"> 
     33                <files>files.tar</files> 
    3334                <languages languagecode="fr">fr.xml</languages> 
    3435        </instructions>