Re: [SMARTY] Cache cleanup
| From: | Ivo Jansch | Date: | Mon, 17 Jun 2002 07:45:46 +0000 |
| Subject: | Re: [SMARTY] Cache cleanup | ||
| References: | 1 2 | Groups: | php.smarty.dev |
| Request: | Send a blank email to php-smarty-dev+get-147@lists.php.net to get a copy of this message | ||
(I'm moving this thread to the dev list now)
Monte Ohrt wrote:
The external file has to know your environment: where template_dir and cache_dir is for example. It basically needs the smarty object passed to it, so it would be better to include the script and call a function. But then we're back to the processing time issue.You could also pass these as parameters to the external script. What also might be a solution is to create a cronscript example that you distribute with Smarty. But ofcourse, if Smarty could handle it, that would be nicer (as long as performance isn't affected). -- Ivo Jansch <ivo@ibuildings.nl> ibuildings.nl BV - information technology http://www.ibuildings.nl