From: Tomas V.V.Cox Date: Wed, 18 Jun 2003 23:19:04 +0000 (+0000) Subject: Typo (sorry Pierre ;) X-Git-Tag: RELEASE_1_0_2~151 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4f2696ba7f462bf22af9ec92762303c041f05001;p=php Typo (sorry Pierre ;) --- diff --git a/pear/PEAR/Config.php b/pear/PEAR/Config.php index 82c36fad4a..d162d705d3 100644 --- a/pear/PEAR/Config.php +++ b/pear/PEAR/Config.php @@ -73,7 +73,7 @@ if (getenv('PHP_PEAR_INSTALL_DIR')) { if (getenv('PHP_PEAR_EXTENSION_DIR')) { define('PEAR_CONFIG_DEFAULT_EXT_DIR', getenv('PHP_PEAR_EXTENSION_DIR')); } else { - if (!ini_get('extension_dir')) { + if (ini_get('extension_dir')) { define('PEAR_CONFIG_DEFAULT_EXT_DIR', ini_get('extension_dir')); } elseif (defined('PEAR_EXTENSION_DIR') && @is_dir(PEAR_EXTENSION_DIR)) { define('PEAR_CONFIG_DEFAULT_EXT_DIR', PEAR_EXTENSION_DIR);