From 7f41f5d5866c5ef37d09ab7c8be7641b30546ecd Mon Sep 17 00:00:00 2001 From: Stig Bakken Date: Thu, 2 Jan 2003 23:48:32 +0000 Subject: [PATCH] * allways fall back to PHP_SYSCONFDIR --- pear/PEAR/Config.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pear/PEAR/Config.php b/pear/PEAR/Config.php index 2e3d667fce..b1292eefeb 100644 --- a/pear/PEAR/Config.php +++ b/pear/PEAR/Config.php @@ -37,7 +37,7 @@ if (isset($_ENV['PHP_PEAR_SYSCONF_DIR'])) { define('PEAR_CONFIG_SYSCONFDIR', $_ENV['PHP_PEAR_SYSCONF_DIR']); } elseif (isset($_ENV['SystemRoot'])) { define('PEAR_CONFIG_SYSCONFDIR', $_ENV['SystemRoot']); -} elseif (@is_dir(PHP_SYSCONFDIR)) { +} else { define('PEAR_CONFIG_SYSCONFDIR', PHP_SYSCONFDIR); } -- 2.50.1