[pLog-svn] r1710 - plog/branches/plog-1.1-ben/class/view

Benjamin Krause ork at orkland.de
Mon Apr 4 20:13:13 GMT 2005


Jon Daley wrote:
>     Can we initialize "now" whenever we want to use it later, ie. if
> isset(now) fails?  Hrm. I was going to say we probably don't need it
> most of the time, but I think we might -- since we are always trying to
> get articles if "post_date < now", right?

currently the code sets now regardless if we display a cached template
or a uncached template. maybe we can move this to another section in the
code or create a now without Timestamp();

just including Timestamp.class.php will slow the script by 6% .. i don't
know it this is worth it :)

Ben



More information about the pLog-svn mailing list