diff options
author | Marc Delisle <marc@infomarc.info> | 2013-10-19 17:01:50 +0400 |
---|---|---|
committer | Marc Delisle <marc@infomarc.info> | 2013-10-19 17:01:50 +0400 |
commit | 8c3e33d04367a5b58f21d34f05b0a3382d5f51ac (patch) | |
tree | 3cbff6a13047673107fc5c6d0e5508ecd4bb2690 /examples | |
parent | 5998945b03a4c06a51564d0f399b7fe1c6d576e3 (diff) |
Fix coding style
Diffstat (limited to 'examples')
-rw-r--r-- | examples/openid.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/examples/openid.php b/examples/openid.php index 2e997958bf..a99603de4b 100644 --- a/examples/openid.php +++ b/examples/openid.php @@ -37,7 +37,7 @@ $AUTH_MAP = array( * * @return void */ -function show_page($contents) +function Show_page($contents) { header('Content-Type: text/html; charset=utf-8'); echo '<?xml version="1.0" encoding="utf-8"?>' . "\n"; @@ -93,7 +93,7 @@ OpenID: <input type="text" name="identifier" /><br /> </form> </body> </html>'; - show_page($content); + Show_page($content); exit; } @@ -113,7 +113,7 @@ try { $contents = "<div class='relyingparty_results'>\n"; $contents .= "<pre>" . $e->getMessage() . "</pre>\n"; $contents .= "</div class='relyingparty_results'>"; - show_page($contents); + Show_page($contents); exit; } @@ -125,7 +125,7 @@ if (isset($_POST['start'])) { $contents = "<div class='relyingparty_results'>\n"; $contents .= "<pre>" . $e->getMessage() . "</pre>\n"; $contents .= "</div class='relyingparty_results'>"; - show_page($contents); + Show_page($contents); exit; } @@ -154,7 +154,7 @@ if (isset($_POST['start'])) { /* Redirect to phpMyAdmin (should use absolute URL here!) */ header('Location: ../index.php'); } else { - show_page('<p>User not allowed!</p>'); + Show_page('<p>User not allowed!</p>'); exit; } } |