[pLog-svn] r5360 - plog/branches/lifetype-1.2

Oscar Renalias oscar at renalias.net
Sat Apr 28 18:02:19 EDT 2007


I kept getting warning messages from the php interpreter saying that  
$config wasn't defined, when attempting to log a message to the  
"sqlerr" logger. $config is a global array defined in config/ 
logging.properties.php that is loaded in the LoggerConfigLoader class  
and that contains the definition for all the loggers. For some reason  
lt_include was not loading anything(), and replacing it with include 
() solved the problem.

On 28 Apr 2007, at 22:37, Jon Daley wrote:

> On Sat, 28 Apr 2007, oscar at devel.lifetype.net wrote:
>> I've also fixed a few issues related to lt_include/include, it seems
>> that lt_include doesn't work very well if we're including a file that
>> for example defines an array rather than a class (it seems like the
>> contents of the file don't get loaded)
>
>  	Can you explain a little more about this?  Can it be that the file
> is already included somewhere else?
> _______________________________________________
> pLog-svn mailing list
> pLog-svn at devel.lifetype.net
> http://limedaley.com/mailman/listinfo/plog-svn
>



More information about the pLog-svn mailing list