Smarty Name Conflicts
| From: | Christopher Stauffer | Date: | Fri, 30 Jan 2004 01:45:08 +0000 |
| Subject: | Smarty Name Conflicts | ||
| References: | 1 | Groups: | php.smarty.dev |
| Request: | Send a blank email to php-smarty-dev+get-2077@lists.php.net to get a copy of this message | ||
Everyone,
When I run a cronjob that executes php with smarty in the shell (for html
email reporting) it creates a file folder in the templates_c folder with the
user that executes the shell (which is not "nobody").
Later, when another template is compiled by an end user executing a file
through the web(done under apache default user "nobody"), there is an error
writing to the directory that was created from the cron job execution from
earlier.
Does anyone know why the directories are named the same even though they are
different tpl files? Aside from changing the folders to 777 when they are
created (my sys admin didn't like that option), is there any other
workaround?
I am using Smarty with Apache on a FreeBSD Unix system.
Thanks,
Chris Stauffer