From 01b2faf5b3e10754bb191d713f46764668170ad2 Mon Sep 17 00:00:00 2001
From: TAKAGI Masahiro
Date: Wed, 16 Aug 2006 04:07:22 +0000
Subject: [PATCH] Examples indentation.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@218280 c90b9560-bf6c-de11-be94-00142212c4b1
---
features/http-auth.xml | 19 +++++++++----------
1 file changed, 9 insertions(+), 10 deletions(-)
diff --git a/features/http-auth.xml b/features/http-auth.xml
index e7a1d83c92..128536ba93 100644
--- a/features/http-auth.xml
+++ b/features/http-auth.xml
@@ -1,5 +1,5 @@
-
+
HTTP authentication with PHP
@@ -197,15 +197,14 @@ function authenticate() {
if (!isset($_SERVER['PHP_AUTH_USER']) ||
($_POST['SeenBefore'] == 1 && $_POST['OldAuth'] == $_SERVER['PHP_AUTH_USER'])) {
authenticate();
-}
-else {
- echo "Welcome: {$_SERVER['PHP_AUTH_USER']}
";
- echo "Old: {$_REQUEST['OldAuth']}";
- echo "
\n";
+} else {
+ echo "Welcome: {$_SERVER['PHP_AUTH_USER']}
";
+ echo "Old: {$_REQUEST['OldAuth']}";
+ echo "
\n";
}
?>
]]>