Re: [PHP4BETA] cvs: /php4 php.ini-dist
| From: | Rasmus Lerdorf | Date: | Mon, 20 Mar 2000 04:09:07 +0000 |
| Subject: | Re: [PHP4BETA] cvs: /php4 php.ini-dist | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-12428@lists.php.net to get a copy of this message | ||
> Rasmus Lerdorf wrote:
> >
> > rasmus Sun Mar 19 15:08:27 2000 EDT
> >
> > Modified files:
> > /php4 php.ini-dist
> > Log:
> > Leave sendmail_path commented out to pick up compiled-in default
>
>
> Are you aware that by doing this, you will not be able to get
> the value of sendmail_path by doing "get_cfg_var('sendmail_path')"
> anymore ?
> Remember, because of the various places environment variables are
> stored internally, it's very sensible...
I don't see how configuring it to be an empty string is any better. Yes,
get_cfg_var() will return this empty string, but what good is that?
The real issue here is whether get_cfg_var() should return the compiled in
default for a config directive that is defaulted. I think it probably
should. But that is a completely different issue from this change.
-Rasmus