summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Auth/OpenID/BigMath.php1
-rw-r--r--Auth/Yadis/XML.php3
2 files changed, 3 insertions, 1 deletions
diff --git a/Auth/OpenID/BigMath.php b/Auth/OpenID/BigMath.php
index db3b543..3113104 100644
--- a/Auth/OpenID/BigMath.php
+++ b/Auth/OpenID/BigMath.php
@@ -335,6 +335,7 @@ class Auth_OpenID_GmpMathWrapper extends Auth_OpenID_MathLibrary{
* You can define new math library implementations and add them to
* this array.
*/
+global $_Auth_OpenID_math_extensions;
$_Auth_OpenID_math_extensions = array(
array('modules' => array('gmp', 'php_gmp'),
'extension' => 'gmp',
diff --git a/Auth/Yadis/XML.php b/Auth/Yadis/XML.php
index 8f177e6..5d75d9c 100644
--- a/Auth/Yadis/XML.php
+++ b/Auth/Yadis/XML.php
@@ -298,7 +298,8 @@ class Auth_Yadis_dom extends Auth_Yadis_XMLParser {
}
}
-$__Services_Yadis_defaultParser = null;
+global $__Auth_Yadis_defaultParser;
+$__Auth_Yadis_defaultParser = null;
/**
* Set a default parser to override the extension-driven selection of