Re: [SMARTY] overriding the default cache file and directory prefix....
| From: | Monte Ohrt | Date: | Thu, 27 Feb 2003 14:54:52 +0000 |
| Subject: | Re: [SMARTY] overriding the default cache file and directory prefix.... | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-8255@lists.php.net to get a copy of this message | ||
It's not currently configurable. You have to go into _get_auto_filename
and change this line:
$_crc32 = '%%' . substr($_crc32,0,3) . $_dir_sep . '%%' . $_crc32;
Change both '%%' to something else that works as a directory filename
but won't conflict with a real template or cache_id/compile_id name.
Monte
On Wed, 2003-02-26 at 19:10, Jun wrote:
> Hi! i would like to override the default cache directory prefix which
> is '%%'. Some web file manager failed to recognize directories with such
> prefix. How do I do that?
>
>
> thank you..
>
> raul
--
Monte Ohrt <monte@ispi.net>