projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b0679ad
)
PEAR likes to have this GLOBAL set.
author
Gunnar Wrobel
<p@rdus.de>
Sun, 3 Oct 2010 17:41:48 +0000
(19:41 +0200)
committer
Gunnar Wrobel
<p@rdus.de>
Sun, 3 Oct 2010 17:45:52 +0000
(19:45 +0200)
components/lib/Components/Module/PearPackageXml.php
patch
|
blob
|
history
diff --git
a/components/lib/Components/Module/PearPackageXml.php
b/components/lib/Components/Module/PearPackageXml.php
index
0340672
..
4fab5bc
100644
(file)
--- 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(