summaryrefslogtreecommitdiffstats
path: root/examples/detect.php
diff options
context:
space:
mode:
authortailor <cygnus@janrain.com>2007-04-04 22:55:40 +0000
committertailor <cygnus@janrain.com>2007-04-04 22:55:40 +0000
commit9bd1ca15e7f07e3c5ab28edddcf244555b2887ce (patch)
tree231d6b5a3041a5476033d2dd85eee852b3bc613c /examples/detect.php
parentf53a81c83f27a5d84e998b197b6569e35a12df8b (diff)
downloadphp-openid-9bd1ca15e7f07e3c5ab28edddcf244555b2887ce.zip
php-openid-9bd1ca15e7f07e3c5ab28edddcf244555b2887ce.tar.gz
php-openid-9bd1ca15e7f07e3c5ab28edddcf244555b2887ce.tar.bz2
[project @ Move math extension data into a function]
Diffstat (limited to 'examples/detect.php')
-rw-r--r--examples/detect.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/examples/detect.php b/examples/detect.php
index 3d06cf6..e2d7c98 100644
--- a/examples/detect.php
+++ b/examples/detect.php
@@ -169,9 +169,8 @@ if (isset($_SERVER['REQUEST_METHOD'])) {
function detect_math($r, &$out)
{
- global $_Auth_OpenID_math_extensions;
$out .= $r->h2('Math support');
- $ext = Auth_OpenID_detectMathLibrary($_Auth_OpenID_math_extensions);
+ $ext = Auth_OpenID_detectMathLibrary(Auth_OpenID_math_extensions());
if (!isset($ext['extension']) || !isset($ext['class'])) {
$out .= $r->p(
'Your PHP installation does not include big integer math ' .