Fwd: Re: Accessing config vars in PHP.
| From: | Michal Zajaczkowski | Date: | Mon, 29 Oct 2001 19:57:58 +0000 |
| Subject: | Fwd: Re: Accessing config vars in PHP. | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-1769@lists.php.net to get a copy of this message | ||
poniedziałek, 29 października 2001 :
> Since the vars will be assigned only after the template is executed
> (either upon fetch or display), are you sure you want to do this?
They're not... as far as I can tell at least.
I have fetched a value of a config var using
$smarty->configs[0][myvar] BEFORE actually I have fetched the template.
So, resuming the question - is there any other way?
PS. Dont CC: posts to the list when you actually address them there by
To: :)
mz
---
http://www.zus.cc.pl tego potrzebujesz !
---