diff options
author | tailor <cygnus@janrain.com> | 2008-02-04 18:05:59 +0000 |
---|---|---|
committer | tailor <cygnus@janrain.com> | 2008-02-04 18:05:59 +0000 |
commit | 01802a0e80d42f6321324c9a5c52f6b74858e458 (patch) | |
tree | 23fae12bc45b4dded0250cbf1f1c32c36a7d463c /examples | |
parent | 4d5e7ff890d47ad702ba6b8e5db6b8980d0588f8 (diff) | |
download | php-openid-01802a0e80d42f6321324c9a5c52f6b74858e458.zip php-openid-01802a0e80d42f6321324c9a5c52f6b74858e458.tar.gz php-openid-01802a0e80d42f6321324c9a5c52f6b74858e458.tar.bz2 |
[project @ Fix user XRDS]
Diffstat (limited to 'examples')
-rw-r--r-- | examples/server/lib/render/idpXrds.php | 4 | ||||
-rw-r--r-- | examples/server/lib/render/userXrds.php | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/examples/server/lib/render/idpXrds.php b/examples/server/lib/render/idpXrds.php index 7c88900..6e4ae1c 100644 --- a/examples/server/lib/render/idpXrds.php +++ b/examples/server/lib/render/idpXrds.php @@ -5,7 +5,7 @@ require_once "lib/render.php"; require_once "Auth/OpenID/Discover.php"; -define('xrds_pat', '<?xml version="1.0" encoding="UTF-8"?> +define('idp_xrds_pat', '<?xml version="1.0" encoding="UTF-8"?> <xrds:XRDS xmlns:xrds="xri://$xrds" xmlns="xri://$xrd*($v*2.0)"> @@ -22,7 +22,7 @@ function idpXrds_render() { $headers = array('Content-type: application/xrds+xml'); - $body = sprintf(xrds_pat, + $body = sprintf(idp_xrds_pat, Auth_OpenID_TYPE_2_0_IDP, buildURL()); diff --git a/examples/server/lib/render/userXrds.php b/examples/server/lib/render/userXrds.php index d38d894..a9ea95e 100644 --- a/examples/server/lib/render/userXrds.php +++ b/examples/server/lib/render/userXrds.php @@ -23,7 +23,7 @@ function userXrds_render($identity) { $headers = array('Content-type: application/xrds+xml'); - $body = sprintf(xrds_pat, + $body = sprintf(user_xrds_pat, Auth_OpenID_TYPE_2_0, Auth_OpenID_TYPE_1_1, buildURL()); |