From: Stig Bakken Date: Thu, 2 Jan 2003 23:48:32 +0000 (+0000) Subject: * allways fall back to PHP_SYSCONFDIR X-Git-Tag: PHP_5_0_dev_before_13561_fix~521 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7f41f5d5866c5ef37d09ab7c8be7641b30546ecd;p=php * allways fall back to PHP_SYSCONFDIR --- 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); }