[Templates] hi, about the Config

fayland fayland@gmail.com
Sat, 25 Feb 2006 20:07:14 +0800


Sergey Martynoff wrote:
>> is there a way to change *Config Options* after $tt is created?
>>     
> just 
>   
>> like $tt->{PRE_PROCESS} = ''; or something else.
>> I don't want to create a new TT instance in this $q.pl(mail.pl)
>>     
> since 
>   
>> it's ugly.
>>     
>
> For PRE_PROCESS option you can try altering
> $tt->service->{PRE_PROCESS} (this should work, although I don't
> think it is a good idea).
>
>
>   
thanks. it works.
$tt->service->{PRE_PROCESS}  = [];

-- 
Fayland Lam // http://www.fayland.org/