]> granicus.if.org Git - php/commitdiff
Typo (sorry Pierre ;)
authorTomas V.V.Cox <cox@php.net>
Wed, 18 Jun 2003 23:19:04 +0000 (23:19 +0000)
committerTomas V.V.Cox <cox@php.net>
Wed, 18 Jun 2003 23:19:04 +0000 (23:19 +0000)
pear/PEAR/Config.php

index 82c36fad4a1d26217ff1217727a88d008909cb22..d162d705d376c5638c5668c3d052508818541d3f 100644 (file)
@@ -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);