Re: Compile time

From: Date: Thu, 20 Feb 2003 16:06:46 +0000
Subject: Re: Compile time
References: 1 2  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-8013@lists.php.net to get a copy of this message
I'm really having problems here... I need to set two vars at compile time, yet I have no idea how to call register_compiler_function() (which arguments to use) So far I have been able to call the function by using {parsetime} and then the vars are set... but I see no reason for be to be forced to call {parsetime}, can't I just tell smarty to run a function when it compiles? -- Tom Sommer www.tsn.dk - www.dreamcoder.dk

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