Re: Re: [RFC] include_ini and include_ini_dir
| From: | Wez Furlong | Date: | Thu, 12 Sep 2002 17:33:46 +0000 |
| Subject: | Re: Re: [RFC] include_ini and include_ini_dir | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-88282@lists.php.net to get a copy of this message | ||
On 09/12/02, derick@php.net wrote:
> On Thu, 12 Sep 2002, Matthew Walker wrote:
> > For what it's worth, here's my +1 on enabling a php-parsed .ini file.
> > And to
> > maintain backwards compatibility, if the file had no php tags in it, it
> > could be parsed as per the old .ini method.
>
> I'm -1 on this complexity.
>
> Having an include is OK, but making it a PHP Script will make it very
> complex, and it's also very hard to implement. Also, do we really need
> that?
Likewise, I'm -1 on any kind of scripting in the .ini file.
I know it's "nice to have" clever features, but considering that there
are only a finite number of options and that in most cases these are set
only once for a particular build, I don't think we need it.
I can understand Brian's intended use for include (but think that they
could be OK without it), but there aren't really that many options or
situations where you might need such a degree of flexibility for a couple
of options.
Most of the options can be set within a PHP script anyway.
--Wez.