Bugs in Cache Class

[email protected] (Christian Stocker) Fri, 2 Mar 2001 13:38:28 +0100 (CET)
Newsgroups php.pear
Organization Nomad Online Agents
Message-ID <[email protected]>
Hi again

found some bugs (should i put this stuff here, or send directly to
sebastian/ulf...)

Output.php
Line 132

-            $this->container->save($content, $this->id, $expire);
+            $this->container->save($this->cache_id,$content,  $expire);


and the expire date is not saved right in all modules, if i use a relative
value (e.g. "+100"). maybe that's purpose and the user has to take care,
that he delivers an absolute date, but i find it more convenient, if you
can give relative expire-times as well (see getExpiresAbsolute() in
http://cvs.nomad.ch/index.cgi/pearlib.old/Cache/Container/common.php?rev=1.10&content-type=text/x-cvsweb-markup
for how we did that)

chregu
-- 
nam...christian stocker    adr...bremgartnerstr. 66, ch-8003 zurich
pho...+41  1 451 6021      www...http://phant.ch/chregu
mob...+41 76 561 8860      [email protected]
off...+41  1 240 2304      icq...4196137