Using Smarty templates without php write access to server?
| From: | spam account) | Date: | Tue, 08 Apr 2003 15:31:43 +0000 |
| Subject: | Using Smarty templates without php write access to server? | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-9191@lists.php.net to get a copy of this message | ||
I'd like to use Smarty without offering the script write
permission on the web server. My idea is to have the web
designer upload the compiled Smarty templates along with
the rest of the website. If the website does not change,
the templates don't change, why take the risk of Smarty
having write access to the web server?
This means no cache, no temporary directory for compiled
templates. I understand that performance would suffer.Can it be done? Is it easy?
-Bryce(Smarty writes and executes php, an operation that has some inherent risks.)