summaryrefslogtreecommitdiffstats
path: root/examples/server/lib/render
diff options
context:
space:
mode:
authorLuke Shepard <lshepard@devrs006.snc1.facebook.com>2009-05-27 13:54:28 -0700
committerLuke Shepard <lshepard@devrs006.snc1.facebook.com>2009-05-27 13:54:28 -0700
commitf963a700e4440074a5b86d382789e75795206482 (patch)
tree4cd13dd8658fa76da4c253402eaf1ead4a20b33d /examples/server/lib/render
parenta2bdc5c6129ff11b1c1e29a207b1b80153ac6fb0 (diff)
downloadphp-openid-f963a700e4440074a5b86d382789e75795206482.zip
php-openid-f963a700e4440074a5b86d382789e75795206482.tar.gz
php-openid-f963a700e4440074a5b86d382789e75795206482.tar.bz2
[ correct errors in removing trailing ?> ]
In the last commit, I over-aggressively removed closing PHP tags. While I dislike the practice of using close tags within templates, it is how this library works, so let's put them back. Checked that all PHP compiles with "php -l".
Diffstat (limited to 'examples/server/lib/render')
-rw-r--r--examples/server/lib/render/idpXrds.php2
-rw-r--r--examples/server/lib/render/userXrds.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/examples/server/lib/render/idpXrds.php b/examples/server/lib/render/idpXrds.php
index 6dde930..e83d031 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('idp_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)">
diff --git a/examples/server/lib/render/userXrds.php b/examples/server/lib/render/userXrds.php
index 0f0239e..1936f2c 100644
--- a/examples/server/lib/render/userXrds.php
+++ b/examples/server/lib/render/userXrds.php
@@ -5,7 +5,7 @@ require_once "lib/render.php";
require_once "Auth/OpenID/Discover.php";
-define('user_xrds_pat', '<?xml version="1.0" encoding="UTF-8"
+define('user_xrds_pat', '<?xml version="1.0" encoding="UTF-8"?>
<xrds:XRDS
xmlns:xrds="xri://$xrds"
xmlns="xri://$xrd*($v*2.0)">