Clearing the cache
| From: | Dennis Gearon | Date: | Fri, 21 Feb 2003 16:56:09 +0000 |
| Subject: | Clearing the cache | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-8084@lists.php.net to get a copy of this message | ||
If I chown the group of the directories:
chown nobody:my_group template_c
chown nobody:my_group cache
set these in smarty to:
$smarty->_file_perms = 0774
$smarty->_dir_perms = 02771 // the 2 is sticky group
Does the 'umask' of my account get used by smarty when making files? I think my umask is
022, which
blocks group and public writing/deleting write?
I think I had my ISP remove all files in those two directories, but for they now have permissions
0611.
<looks at group/owner of file>
Yup they were cleared and it must be using the umask. So I still can't delete the cache
contents.
Using $smarty->clear_all_cache() just hangs the browser. Any ideas on all of this?