From: Gunnar Wrobel
Date: Sun, 3 Oct 2010 17:41:48 +0000 (+0200) Subject: PEAR likes to have this GLOBAL set. X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=692c408b87307ea36080442b550e8b1c92180968;p=horde.git PEAR likes to have this GLOBAL set. --- 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(