[gst-cvs] CVS: www/wiki admin.php,1.1.1.1,1.2
Andy Wingo
wingo at users.sourceforge.net
Wed Oct 24 12:18:16 PDT 2001
Update of /cvsroot/gstreamer/www/wiki
In directory usw-pr-cvs1:/tmp/cvs-serv29576/wiki
Modified Files:
admin.php
Log Message:
* documented web site layout in README.website
* there is now one password for gstreamer.net/admin.php that gets carried
down for all other admin pages
* more documentation on the web site administration scripts in the root admin page
Index: admin.php
===================================================================
RCS file: /cvsroot/gstreamer/www/wiki/admin.php,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -u -d -r1.1.1.1 -r1.2
--- admin.php 2001/10/13 20:02:08 1.1.1.1
+++ admin.php 2001/10/24 19:17:27 1.2
@@ -20,9 +20,9 @@
}
// from the manual, Chapter 16
- if (($PHP_AUTH_USER != $wikiadmin ) ||
- ($PHP_AUTH_PW != $adminpasswd)) {
- Header("WWW-Authenticate: Basic realm=\"PhpWiki\"");
+ if (($PHP_AUTH_USER != $admin_user) ||
+ ($PHP_AUTH_PW != $admin_pass)) {
+ Header("WWW-Authenticate: Basic realm=\"gstreamer-admin\"");
Header("HTTP/1.0 401 Unauthorized");
echo gettext ("You entered an invalid login or password.");
exit;
More information about the Gstreamer-commits
mailing list