summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Auth/OpenID/BigMath.php7
1 files changed, 3 insertions, 4 deletions
diff --git a/Auth/OpenID/BigMath.php b/Auth/OpenID/BigMath.php
index cc708e9..db3b543 100644
--- a/Auth/OpenID/BigMath.php
+++ b/Auth/OpenID/BigMath.php
@@ -428,10 +428,9 @@ function &Auth_OpenID_getMathLib()
$tried[] = $extinfo['extension'];
}
$triedstr = implode(", ", $tried);
- $msg = 'This PHP installation has no big integer math ' .
- 'library. Define Auth_OpenID_NO_MATH_SUPPORT to use ' .
- 'this library in dumb mode. Tried: ' . $triedstr;
- trigger_error($msg, E_USER_ERROR);
+
+ define('Auth_OpenID_NO_MATH_SUPPORT', true);
+ return null;
}
// Instantiate a new wrapper