Problem with Variables in Config-File
| From: | Martin V�lkening - 0700webhilfe.de | Date: | Thu, 20 Mar 2003 19:13:42 +0000 |
| Subject: | Problem with Variables in Config-File | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-8789@lists.php.net to get a copy of this message | ||
Hi,
I included the following file at the beginning of the template:
{config_load file="/home/pages/sds_server_com/www/include_var.conf"
scope="global"}
Later on I want to use the variables in the file so I include:
{#db_name#}
But nothing shows up. I have declared:
db_name = "sds_cyprus" in the config-file which exists in the
directory.
In can't seem to use my variables in the template file!!!
What's wrong???
Thanks
Martin
=============================================
Martin Völkening - Geschäftsführer
0700webhilfe.de
Max-Joseph-Str. 18 - D-51429 Bergisch Gladbach
Telefon +49 700 93244533 - Fax +49 700 93244533
mailto:info@0700webhilfe.de - http://www.0700webhilfe.de