Revision 13739
Added by Aaron Marcuse-Kubitza over 10 years ago
username_prefix.php | ||
---|---|---|
39 | 39 |
|
40 | 40 |
if (!isset($_SERVER["PHP_AUTH_USER"])) # browser first omits Authorization |
41 | 41 |
{ |
42 |
header('WWW-Authenticate: Basic realm="please leave username/password blank or as filled in"'); |
|
42 |
header('WWW-Authenticate: Basic realm="' |
|
43 |
.'please leave username/password blank or as filled in. ' |
|
44 |
.'**IMPORTANT**: to visit the homepage of this site, you should always ' |
|
45 |
.'append \".\": \"'.$_SERVER["HTTP_HOST"].'.\" "'); |
|
43 | 46 |
} |
44 | 47 |
else |
45 | 48 |
{ |
Also available in: Unified diff
web/username_prefix.php: username/password prompt message: added instructions to always append "." when visiting the homepage of the site ("vegpath.org.")