Re: Global.conf
Joshua <[email protected]> Thu, 21 Jul 2005 11:50:31 -0700
| Newsgroups | gmane.comp.lib.nexista.devel |
|---|---|
| Message-ID | <[email protected]> |
On Thursday 21 July 2005 11:04, Albert Lash wrote: > Or master.conf... It doesn't create a constant. Only on some things like paths. It makes a concatenated config which can be accessed using the Config class. Eventually it will turn into a serialize array file file I think. So you can add anything and get it using the config::get (I think -- check docs) method. J > Foundry parses this in a manual manner, creating a constant for each > directive. Can this be done dynamically, so that if there is an entry, a > constant (supplied by gloabal.xml or master.xml) is created. That way, if > you edit the structure of global.xml, you don't have to update foundry.php > as well. > > > Thoughts? > > Al