summaryrefslogtreecommitdiffstats
path: root/examples/detect.php
diff options
context:
space:
mode:
authortailor <cygnus@cprogrammer.org>2007-11-26 19:56:28 +0000
committertailor <cygnus@cprogrammer.org>2007-11-26 19:56:28 +0000
commit691ad461b09f249f2cbd4614c68576ebb303ea2f (patch)
tree994e94ca0199f583ee5c2a8168e53c8e8ab2276d /examples/detect.php
parent8d6f82a082e79462bfa1a4026479fbf38bcfc576 (diff)
downloadphp-openid-691ad461b09f249f2cbd4614c68576ebb303ea2f.zip
php-openid-691ad461b09f249f2cbd4614c68576ebb303ea2f.tar.gz
php-openid-691ad461b09f249f2cbd4614c68576ebb303ea2f.tar.bz2
[project @ [FIX #38] Replace direct usage of NO_MATH_SUPPORT with function calls]
Diffstat (limited to 'examples/detect.php')
-rw-r--r--examples/detect.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/examples/detect.php b/examples/detect.php
index 07106e7..0d7fc77 100644
--- a/examples/detect.php
+++ b/examples/detect.php
@@ -194,8 +194,9 @@ function detect_math($r, &$out)
$out .= $r->ol(array(
'Install the ' . $gmp_lnk . ' PHP extension',
'Install the ' . $bc_lnk . ' PHP extension',
- 'If your site is low-security, define ' .
- 'Auth_OpenID_NO_MATH_SUPPORT. The library will function, but ' .
+ 'If your site is low-security, call ' .
+ 'Auth_OpenID_setNoMathSupport(), defined in Auth/OpenID/BigMath.php. ',
+ 'The library will function, but ' .
'the security of your OpenID server will depend on the ' .
'security of the network links involved. If you are only ' .
'using consumer support, you should still be able to operate ' .