From d78ac91adeb329c6d19965c5462e0f1aefcb4e37 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 15 Jan 2024 11:19:07 +0100 Subject: [PATCH] cleanup uneeded test --- PEAR/Config.php | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/PEAR/Config.php b/PEAR/Config.php index daae710df..39c5116e4 100644 --- a/PEAR/Config.php +++ b/PEAR/Config.php @@ -79,11 +79,7 @@ if (getenv('PHP_PEAR_INSTALL_DIR')) { define('PEAR_CONFIG_DEFAULT_PHP_DIR', getenv('PHP_PEAR_INSTALL_DIR')); } else { - if (@file_exists($PEAR_INSTALL_DIR) && is_dir($PEAR_INSTALL_DIR)) { - define('PEAR_CONFIG_DEFAULT_PHP_DIR', $PEAR_INSTALL_DIR); - } else { - define('PEAR_CONFIG_DEFAULT_PHP_DIR', $PEAR_INSTALL_DIR); - } + define('PEAR_CONFIG_DEFAULT_PHP_DIR', $PEAR_INSTALL_DIR); } // Default for metadata_dir