Re: [SMARTY] overriding the default cache file and directoryprefix....

From: Date: Thu, 27 Feb 2003 15:17:52 +0000
Subject: Re: [SMARTY] overriding the default cache file and directoryprefix....
References: 1 2  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-8257@lists.php.net to get a copy of this message
ok thanks!! "Monte Ohrt" <monte@ispi.net> wrote in message news:1046357691.2007.36.camel@lena.ispi.prv... > 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> >

« previous php.smarty.general (#8257) next »