I've seen people using Smarty in PHP5 turn off strict just before
require'ing the classes, and then set it back right after.

http://www.phpinsider.com/smarty-forum/viewtopic.php?t=5749&highlight=strict

That said, sometimes it's as easy as doing a big s/var/public/ on all
the files.  Not sure if that's the case with Log or not.

There is also are some built-in logging objects in Agavi, but they
currently only exist in my development branch.  I really need to get
around to just merging it into trunk so we can push it out in the next
release.

Hope that helps,
--Bob

On 9/1/05, J. Erik Heinz <[EMAIL PROTECTED]> wrote:
> Hi,
> 
> I integrated pear Log in agavi (do I have to use this, by the way?).
> Now I get those Errormessages/Warnings:
> 
> Strict Standards: var: Deprecated. Please use the
> public/private/protected modifiers in
> /usr/local/workspace/projects/sandbox/vendor/lib/Log/Log.php on line 45
> 
> this appears because the log package is not coded with
> public/private/protected.
> 
> Is there a way to suppress this messages only for Log?
> 
> Regards Erik
> 
> --
> J. Erik Heinz
> Keyboard-samuraing in process
> _______________________________________________
> agavi-dev mailing list
> [email protected]
> http://labworkz.com/cgi-bin/mailman/listinfo/agavi-dev
>
_______________________________________________
agavi-dev mailing list
[email protected]
http://labworkz.com/cgi-bin/mailman/listinfo/agavi-dev

Reply via email to