cacheing + resource errors
| From: | Rob Ellis | Date: | Wed, 04 Dec 2002 16:56:25 +0000 |
| Subject: | cacheing + resource errors | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-6636@lists.php.net to get a copy of this message | ||
I'm setting up a smarty resource where the xx_get_template() function
gets a remote html page. Usually this works fine, but it
could occasionally get nothing or get junk...
What I'd like to do is look at the results of the file() call
and have smarty fall back to using the cached copy of the resource
if there's a problem. Is there a way to do this?
Thanks.
- Rob
--
Rob Ellis <rob@web.ca>
System Administrator, Web Networks