Bug in HTML_Template_Sigma
| From: | Thomas A. Lowery | Date: | Fri, 02 May 2003 05:13:39 +0000 |
| Subject: | Bug in HTML_Template_Sigma | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-5176@lists.php.net to get a copy of this message | ||
Alexey,
I've an interesting bug when using
HTML_Template_Sigma. My application uses Cache_Lite to cache
pages.
Before I show the page is displayed I do
$rslt = $obj->cache->save($tpl->get());
...
This saves the page. then $tpl->show() to display.
This fails while using Sigma. The first time I get a blank page,
however upon refresh (pulling from cache) I get the populated
page. Looks like the get() function is clearing the template.
Tom