config variable problem
| From: | Peter Turcan | Date: | Tue, 18 Feb 2003 10:45:04 +0000 |
| Subject: | config variable problem | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-7815@lists.php.net to get a copy of this message | ||
Hello,
I have cfg file with this variable:
mail_info = my@domain.com
and would like to use it:
{config_load file=my.conf}
{mailto address="#mail_info#" text="contact"}
but result html is:
<a href="mailto:#mail_info#"
>contact</a>
and not
<a href="mailto:my@domain.com"
>contact</a>
why? In debug console everything seems to be ok. Variables are loaded,
but in {mailto... } it doesn't work
why?
Peter