Re: [SMARTY] cache subdirectory owner/privileges
| From: | Jan Rosier | Date: | Sun, 12 Jan 2003 19:24:14 +0000 |
| Subject: | Re: [SMARTY] cache subdirectory owner/privileges | ||
| References: | 1 2 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-7136@lists.php.net to get a copy of this message | ||
Or try this
$smarty = new Smarty;
// clear entire compile directory
$smarty->clear_compiled_tpl();
// clear the entire cache
$smarty->clear_all_cache();
Just my 2 cents
Jan Rosier
----- Original Message -----
From: "Jason Sweat" <sweatjejm@mchsi.com>
To: "Jason Jones" <jason@tekscode.com>; <smarty-general@lists.php.net>
Sent: Saturday, January 11, 2003 3:13 AM
Subject: Re: [SMARTY] cache subdirectory owner/privileges
> Hello Jason,
>
> I think this post may answer your question.
>
> http://marc.theaimsgroup.com/?l=smarty-general&m=101875804315039&w=2
>
> Regards,
>
> Jason
> ----- Original Message -----
> From: "Jason Jones" <jason@tekscode.com>
> To: <smarty-general@lists.php.net>
> Sent: Friday, January 10, 2003 5:06 PM
> Subject: [SMARTY] cache subdirectory owner/privileges
>
>
> > First of all, I love Smarty.
> >
> > Anyway, I've been playing around with Smarty, and on my box's setup
> > right now, when Smarty creates a directory in cache (named %%something),
> > its owner is apache:apache. Since it's my box I just su -c 'rm -r' the
> > folder, because otherwise I wouldn't have privileges to do so. On my
> > website, which is virtual hosted, if the same thing happens I'm not sure
> > how I would delete the cache folders (since I'm not root, obviously).
> > The reason I would want to delete them is if I'm moving folders around
> > (not that I don't want Smarty =).
> >
> > Would I need to make a little script that will delete these (since it'll
> > execute as apache)? Or am I just missing something obvious here?
> >
> > Thanks for your help,
> >
> > Jason Jones
> > jason@tekscode.com
> >
> >
> > --
> > Smarty General Mailing List (http://smarty.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
>
>
> --
> Smarty General Mailing List (http://smarty.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>