[pLog-svn] r3418 - plugins/trunk/0ipabuse/class/security

Paul Westbrook paul at westbrooks.org
Mon May 15 04:04:40 GMT 2006


Hello,
    This script isn't run from the web server, but is run from the  
command line.  I agree that it would be better to not hard code this.


--Paul


On May 14, 2006, at 7:02 PM, Jon Daley wrote:

> 	I don't know the code at all, but is there a reason this can't be  
> grabbed via the "regular" way, ie. PLOG_CLASS_PATH or config- 
> >getValue(tmp_dir), etc.?
>
>
> On Sun, 14 May 2006, pwestbro at devel.lifetype.net wrote:
>
>> Author: pwestbro
>> Date: 2006-05-14 20:12:56 +0000 (Sun, 14 May 2006)
>> New Revision: 3418
>>
>> Modified:
>>   plugins/trunk/0ipabuse/class/security/update_iptables.php
>> Log:
>> Updated the iptables script to not reference "plog"
>>
>>
>> Modified: plugins/trunk/0ipabuse/class/security/update_iptables.php
>> ===================================================================
>> --- plugins/trunk/0ipabuse/class/security/update_iptables.php	 
>> 2006-05-14 19:02:06 UTC (rev 3417)
>> +++ plugins/trunk/0ipabuse/class/security/update_iptables.php	 
>> 2006-05-14 20:12:56 UTC (rev 3418)
>> @@ -1,7 +1,7 @@
>> <?php
>>
>> // Set this to the temp folder for lifetype
>> -$LIFETYPE_TMP_FOLDER = "/var/www/plog-1.0/tmp/ipabuse/2";
>> +$LIFETYPE_TMP_FOLDER = "/<path to lifetype>/tmp/ipabuse/2";
>>
>> $today = date("Ymd");
>> $dbFile =$LIFETYPE_TMP_FOLDER ."/".$today."ipabuse.db";
>>
>> _______________________________________________
>> pLog-svn mailing list
>> pLog-svn at devel.lifetype.net
>> http://devel.lifetype.net/mailman/listinfo/plog-svn
>>
>
> **************************************
> Jon Daley
> http://jon.limedaley.com/
>
> And when it rains on your parade, look up rather than down.
> Without the rain, there would be no rainbow.
> -- Jerry Chin
> _______________________________________________
> pLog-svn mailing list
> pLog-svn at devel.lifetype.net
> http://devel.lifetype.net/mailman/listinfo/plog-svn
>



More information about the pLog-svn mailing list