RE: [SMARTY] folder names in templates_c
| From: | Josh Johnson | Date: | Sun, 20 Oct 2002 14:58:34 +0000 |
| Subject: | RE: [SMARTY] folder names in templates_c | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-6204@lists.php.net to get a copy of this message | ||
Hmmm... That might be your FTP client... I just tried connecting to my
server and cd'ed to my smarty install, and I was able to do a cd %%-19
and get into the directory. I used the windows command-line FTP
client...
What are you using for ftp access?
Maybe you can alter the Smarty class (extend it and then overwright the
function in question) so that it either allows for a user-set prefix on
the directory names, or just alter what smarty uses.
Than again, I noticed that the format is different from the last version
of Smarty, there must be some reason for it.
-- Josh
-----Original Message-----
From: Holger Dors [mailto:dors@gmx.de]
Sent: Sunday, October 20, 2002 10:40 AM
To: smarty-general@lists.php.net
Subject: Re: [SMARTY] folder names in templates_c
Hello Øystein ,
thanks for answering me!
> The template cache files, are created by the user which Apache is run
as,
> usually httpd. You won't be able to do anything with the files since
you
> are not the owner.
That's not really my problem, I can easily change the file rights.
I just can do a "cd %%-11" or similar, FTP will complain with
a "forbidden command argument".
> All php-scripts are run as the same user (usually httpd). Why don't
you
> inspect/delete the files through a php-script?
While this would probably work somehow, I still would like to be
able to use FTP to do all the work. Isn't there a way to say Smarty
it shouldn't use percent signs in its folder names?
Thanks,
Holger
--
Smarty General Mailing List (http://smarty.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php