diff options
author | tailor <cygnus@janrain.com> | 2007-01-15 21:13:59 +0000 |
---|---|---|
committer | tailor <cygnus@janrain.com> | 2007-01-15 21:13:59 +0000 |
commit | 9a821efd72c6585d19fb7d8b819f8ccc6a05d61a (patch) | |
tree | 6bc096f9057dd5b045c1aacbddd0f5d64f08555e /Auth | |
parent | aaa0f9a6dc50da334e9a955eaa5e2c813e52d312 (diff) | |
download | php-openid-9a821efd72c6585d19fb7d8b819f8ccc6a05d61a.zip php-openid-9a821efd72c6585d19fb7d8b819f8ccc6a05d61a.tar.gz php-openid-9a821efd72c6585d19fb7d8b819f8ccc6a05d61a.tar.bz2 |
[project @ BigMath no longer triggers error on no math support]
Diffstat (limited to 'Auth')
-rw-r--r-- | Auth/OpenID/BigMath.php | 7 |
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 |