From 18f2ffeeaddb85ce722c6a9d2786479d4ab46ead Mon Sep 17 00:00:00 2001 From: "Tomas V.V.Cox" Date: Tue, 11 Dec 2001 20:52:58 +0000 Subject: [PATCH] fixed bug #14414 --- pear/scripts/pear.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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]; -- 2.50.1