mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
changed example that html-result fits on the screen (bug #21727)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@112659 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
395602e89e
commit
e6e52a20be
1 changed files with 3 additions and 2 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue