Re: configuration
| From: | Andrei Zmievski | Date: | Tue, 22 May 2001 13:28:43 +0000 |
| Subject: | Re: configuration | ||
| References: | 1 2 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-440@lists.php.net to get a copy of this message | ||
On Tue, 22 May 2001, Nicolas Hoizey wrote:
> Hi,
>
> > I think it's time to find a standard way of giving applications
> > parameters without having to modify library code.
>
> Yes, it's time to do it, it is really needed !!! :)
>
> > To access the configuration we can either use ini_get() or make a
> > new set of pear_ini_* functions.
>
> Do these functions access the '*.ini' file every time they are called,
> or is the whole configuration loaded somewhere in memory ?
I can contribute my Config_File class that I wrote. It's almost
PEAR-ified and it loads config file into memory only once.
-Andrei
* Entropy isn't what it used to be. *