cvs: phpdoc /en/features http-auth.xml
| From: | Thomas Schoefbeck | Date: | Sun, 19 Jan 2003 09:46:52 +0000 |
| Subject: | cvs: phpdoc /en/features http-auth.xml | ||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969351058@lists.php.net to get a copy of this message | ||
tom Sun Jan 19 04:46:52 2003 EDT
Modified files:
/phpdoc/en/features http-auth.xml
Log:
changed example that html-result fits on the screen (bug #21727)
Index: phpdoc/en/features/http-auth.xml
diff -u phpdoc/en/features/http-auth.xml:1.30 phpdoc/en/features/http-auth.xml:1.31
--- phpdoc/en/features/http-auth.xml:1.30 Wed Dec 25 05:19:32 2002
+++ phpdoc/en/features/http-auth.xml Sun Jan 19 04:46:52 2003
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.30 $ -->
+<!-- $Revision: 1.31 $ -->
<chapter id="features.http-auth">
<title>HTTP authentication with PHP</title>
@@ -127,7 +127,8 @@
exit;
}
- if (!isset($_SERVER['PHP_AUTH_USER']) || ($_POST['SeenBefore'] == 1
&& $_POST['OldAuth'] == $_SERVER['PHP_AUTH_USER'])) {
+ if (!isset($_SERVER['PHP_AUTH_USER']) ||
+ ($_POST['SeenBefore'] == 1 && $_POST['OldAuth'] ==
$_SERVER['PHP_AUTH_USER'])) {
authenticate();
}
else {