replacing pearweb ENV variables with SERVER
[email protected] (Christian Weiske)
| Newsgroups | php.pear.webmaster |
|---|---|
| Message-ID | <[email protected]> |
Hi all, 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? -- Regards/Mit freundlichen Grüßen Christian Weiske -= Geeking around in the name of science since 1982 =-
signature.asc
(application/pgp-signature, 198 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.11 (GNU/Linux) iEYEARECAAYFAkp+p9AACgkQFMhaCCTq+CNrugCePIg9PtAWmMQJxr35pYa2KMUt uKIAmQH1n2Nw8N+ii47eX+V8FZdj27tQ =lQB+ -----END PGP SIGNATURE-----