diff options
author | tailor <cygnus@janrain.com> | 2007-04-05 20:39:32 +0000 |
---|---|---|
committer | tailor <cygnus@janrain.com> | 2007-04-05 20:39:32 +0000 |
commit | 8a9a601c5bc611cc8cfb0334c40bedc9c2ca8421 (patch) | |
tree | 452f94439f93397fb895abfa85c9d9cc6abd32dc /examples | |
parent | 8043dfb552a2879a6957e0090cb9a75100e895dc (diff) | |
download | php-openid-8a9a601c5bc611cc8cfb0334c40bedc9c2ca8421.zip php-openid-8a9a601c5bc611cc8cfb0334c40bedc9c2ca8421.tar.gz php-openid-8a9a601c5bc611cc8cfb0334c40bedc9c2ca8421.tar.bz2 |
[project @ Add opening and closing PHP tag to example server config]
Diffstat (limited to 'examples')
-rw-r--r-- | examples/server/setup.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/examples/server/setup.php b/examples/server/setup.php index 2769939..ba5131b 100644 --- a/examples/server/setup.php +++ b/examples/server/setup.php @@ -414,6 +414,7 @@ function generate_config($download = false) { // Emit headers to force browser download. header("Content-type: text/plain"); header("Content-disposition: attachment; filename=config.php"); + print "<?php\n"; } else { ?> <html> @@ -435,6 +436,7 @@ Put the following text into <strong><? print dirname(__FILE__); print DIRECTORY_ <pre style="border: 1px solid gray; background: #eee; padding: 5px;"> <? +print "<?php\n"; } ?> <? if ($_SESSION['include_path']) { ?> @@ -542,6 +544,7 @@ function getOpenIDStore() } <? + print "?>"; if (!$download) { ?> </pre> |