From: Tomas V.V.Cox Date: Tue, 11 Dec 2001 20:52:58 +0000 (+0000) Subject: fixed bug #14414 X-Git-Tag: ChangeLog~20 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=18f2ffeeaddb85ce722c6a9d2786479d4ab46ead;p=php fixed bug #14414 --- diff --git a/pear/scripts/pear.in b/pear/scripts/pear.in index c043620984..1e12897255 100644 --- a/pear/scripts/pear.in +++ b/pear/scripts/pear.in @@ -62,10 +62,10 @@ if (PEAR::isError($options)) { if (OS_WINDOWS) { $pear_default_config = PHP_SYSCONFDIR.DIRECTORY_SEPARATOR.'pearsys.ini'; - $pear_user_config = PHP_SYSCONFDIR.DIRECTORY_SEPARATOR.'pear.ini'; + $pear_user_config = PHP_SYSCONFDIR.DIRECTORY_SEPARATOR.'pear.ini'; } else { $pear_default_config = PHP_SYSCONFDIR.DIRECTORY_SEPARATOR.'pear.conf'; - $pear_user_config = $HTTP_ENV_VARS['HOME'].DIRECTORY_SEPARATOR.'.pearrc'; + $pear_user_config = getenv('HOME').DIRECTORY_SEPARATOR.'.pearrc'; } $opts = $options[0];