Re: [SMARTY] Set config file from php?
| From: | Monte Ohrt | Date: | Thu, 09 May 2002 14:12:27 +0000 |
| Subject: | Re: [SMARTY] Set config file from php? | ||
| References: | 1 2 3 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-4121@lists.php.net to get a copy of this message | ||
Why? I would think that this is a benefit. this lets the template control the config variables (the application doesn't need to deal with it.)
Ivan Voras wrote:
"Monte Ohrt" <monte@ispi.net> wrote in message news:3CDA7749.8080907@ispi.net...-- Monte Ohrt <monte@ispi.net> Director of Technology, ispi Inc.{config_load file="$template/display.conf"}I want to avoid entering the above line into all template files. -- -- Ashes to ashes, DOS to DOS ivoras @ fer.hr