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

Paul Westbrook paul at westbrooks.org
Mon May 15 15:26:54 GMT 2006


Hello,
     PLOG_CLASS_PATH is only ever defined by php files at the root  
level, by calling dirname.   Since these are the entry points, all of  
the other code can assume that PLOG_CLASS_PATH.  config.class.php  
assumes that this value is set in order to return the correct values.
     Since this script doesn't reside in the root directory, it would  
have to hard code some knowledge of where it is installed.

--Paul


On May 15, 2006, at 4:54 AM, Jon Daley wrote:

> On Sun, 14 May 2006, Paul Westbrook wrote:
>>  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.
>
> 	Ok.  But, being run from the command line doesn't affect its  
> ability to include config.class or whatever to get the variables,  
> does it?
> _______________________________________________
> pLog-svn mailing list
> pLog-svn at devel.lifetype.net
> http://devel.lifetype.net/mailman/listinfo/plog-svn
>

--
Paul Westbrook
paul at westbrooks.org
<http://www.westbrooks.org>




More information about the pLog-svn mailing list