Re: [pear-webmaster] replacing pearweb ENV variables with SERVER

[email protected] (Greg Beaver)
Newsgroups php.pear.webmaster
Message-ID <[email protected]>
Christian Weiske wrote:
>> While setting up our new CI box and the pearweb test instance on it, I
>> failed to configure the DSN for pearweb. This is because $_ENV is used
>> to determine all settings in include/pear-config.php.
>> We already failed to do so for PEAR_BOX and switched to
>> $_SERVER['PEAR_BOX'] because that allows us to set the variables in
>> apache's configuration file.
>>
>> What I propose is to do the same for every other setting in
>> pear-config.php that uses $_ENV. Objections?
> 
> I found a working way to inject custom changes: Using a different
> auto-prepend file that defines the ENV variables and includes the
> normal auto-prepend file.

Dang you're a smart man :)

Greg
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.