Re: [SMARTY] templates_c and rights
| From: | Jason Sweat | Date: | Wed, 18 Dec 2002 06:51:39 +0000 |
| Subject: | Re: [SMARTY] templates_c and rights | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-6868@lists.php.net to get a copy of this message | ||
Mattia,
make a new web page, purge_templates.php:
<?php
system('cd /path/to/templates_c; rm -rf *;');
?>
The page created it, so it can destroy it as well :)
HTH
Jason
"Mattia" <mattia.c@libero.it> wrote in message
news:20021216222013.43478.qmail@pb1.pair.com...
> i have a problem by files and dirs created by smarty . I cannot remove
them
> any more because they are created under user nobody (the apache user) with
> the wrong rights. Is there a smarty function, or somewhere to hack the
code,
> where I can solve the prob? Make smarty write with different rights, or
> change the owner?
>
> tia
>