Config vars
| From: | Nino Katic | Date: | Sat, 22 Mar 2003 11:40:32 +0000 |
| Subject: | Config vars | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-8828@lists.php.net to get a copy of this message | ||
Hi,
I'm loading config vars from the same config file using sections for
different pages, but something is wrong.. I'll show it on example..
example.conf
[section-1]
testvar1 = 'foo'
testvar2 = 'bar'
[section-2]
testvar3 = 'something'
On first page i load section-1, and on second page i load section-2 but i
also get section-1 vars set?? So if i do {#testvar1#} on a second page i
get 'foo' printed out?? I'm using Smarty 2.4.2
Nino