From 9a821efd72c6585d19fb7d8b819f8ccc6a05d61a Mon Sep 17 00:00:00 2001 From: tailor Date: Mon, 15 Jan 2007 21:13:59 +0000 Subject: [project @ BigMath no longer triggers error on no math support] --- Auth/OpenID/BigMath.php | 7 +++---- 1 file 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 -- cgit v1.1