Re: [SMARTY] Set config file from php?
| From: | Ivan Voras | Date: | Thu, 09 May 2002 13:34:34 +0000 |
| Subject: | Re: [SMARTY] Set config file from php? | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-4114@lists.php.net to get a copy of this message | ||
On Thu, 9 May 2002, Monte Ohrt wrote:
> {config_load file="$template/display.conf"}
>
> (in config_dir)
>
> /mytheme1/display.conf
> /mytheme2/display.conf
> ...
>
well, yes and no. I see now that it would be a very nice solution IF my
current themes system was organized that way from the start.
My layout is like this:
/img/themes/theme1/pic1.jpg
/img/themes/theme1/pic1.jpg
/img/themes/theme2/pic1.jpg
/...something.../theme1/...some other theme1 related stuff
...
/config/theme1.cfg
/config/theme2.cfg
(and for some reasons it must stay this way)
--
Ashes to ashes, DOS to DOS
ivoras @ fer.hr