From 692c408b87307ea36080442b550e8b1c92180968 Mon Sep 17 00:00:00 2001 From: Gunnar Wrobel
Date: Sun, 3 Oct 2010 19:41:48 +0200 Subject: [PATCH] PEAR likes to have this GLOBAL set. --- components/lib/Components/Module/PearPackageXml.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/components/lib/Components/Module/PearPackageXml.php b/components/lib/Components/Module/PearPackageXml.php index 0340672f6..4fab5bcd0 100644 --- a/components/lib/Components/Module/PearPackageXml.php +++ b/components/lib/Components/Module/PearPackageXml.php @@ -80,6 +80,10 @@ implements Components_Module $pear = new PEAR(); $pear->setErrorHandling(PEAR_ERROR_DIE); + if (!isset($GLOBALS['_PEAR_Config_instance'])) { + $GLOBALS['_PEAR_Config_instance'] = false; + } + $package = PEAR_PackageFileManager2::importOptions( $package_file, array( -- 2.11.0