diff options
author | tailor <cygnus@janrain.com> | 2007-03-12 19:13:55 +0000 |
---|---|---|
committer | tailor <cygnus@janrain.com> | 2007-03-12 19:13:55 +0000 |
commit | 42ef9952383e5517fef269b3efd669325c59ad44 (patch) | |
tree | 4747359a14d59068761a3cea325df613811d0c87 /examples/detect.php | |
parent | 57ae1417c4a06d713370adee98e49df52bd2a67d (diff) | |
download | php-openid-42ef9952383e5517fef269b3efd669325c59ad44.zip php-openid-42ef9952383e5517fef269b3efd669325c59ad44.tar.gz php-openid-42ef9952383e5517fef269b3efd669325c59ad44.tar.bz2 |
[project @ [2/2] Change Services_Yadis_ and Services/Yadis/]
Diffstat (limited to 'examples/detect.php')
-rw-r--r-- | examples/detect.php | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/examples/detect.php b/examples/detect.php index 29593f2..ed9ef4f 100644 --- a/examples/detect.php +++ b/examples/detect.php @@ -362,12 +362,12 @@ function detect_stores($r, &$out) function detect_xml($r, &$out) { - global $__Services_Yadis_xml_extensions; + global $__Auth_Yadis_xml_extensions; $out .= $r->h2('XML Support'); // Try to get an XML extension. - $ext = Services_Yadis_getXMLParser(); + $ext = Auth_Yadis_getXMLParser(); if ($ext !== null) { $out .= $r->p('XML parsing support is present using the '. @@ -376,7 +376,7 @@ function detect_xml($r, &$out) } else { $out .= $r->p('XML parsing support is absent; please install one '. 'of the following PHP extensions:'); - foreach ($__Services_Yadis_xml_extensions as $name => $cls) { + foreach ($__Auth_Yadis_xml_extensions as $name => $cls) { $out .= "<li>" . $r->b($name) . "</li>"; } return false; @@ -387,14 +387,14 @@ function detect_fetcher($r, &$out) { $out .= $r->h2('HTTP Fetching'); - $result = @include 'Services/Yadis/Yadis.php'; + $result = @include 'Auth/Yadis/Yadis.php'; if (!$result) { $out .= $r->p('Yadis code unavailable; could not test fetcher support.'); return false; } - if (Services_Yadis_Yadis::curlPresent()) { + if (Auth_Yadis_Yadis::curlPresent()) { $out .= $r->p('This PHP installation has support for libcurl. Good.'); } else { $out .= $r->p('This PHP installation does not have support for ' . @@ -407,7 +407,7 @@ function detect_fetcher($r, &$out) } $ok = true; - $fetcher = Services_Yadis_Yadis::getHTTPFetcher(); + $fetcher = Auth_Yadis_Yadis::getHTTPFetcher(); $fetch_url = 'http://www.openidenabled.com/resources/php-fetch-test'; $expected_url = $fetch_url . '.txt'; $result = $fetcher->get($fetch_url); |