[gst-cvs] CVS: www admin.php,1.1,1.2
Andy Wingo
wingo at users.sourceforge.net
Sun Oct 14 21:47:03 PDT 2001
Update of /cvsroot/gstreamer/www
In directory usw-pr-cvs1:/tmp/cvs-serv1636
Modified Files:
admin.php
Log Message:
* no password on root admin script, it doesn't do anything anyway
* faq stuff now in a database (i'll update this shortly)
Index: admin.php
===================================================================
RCS file: /cvsroot/gstreamer/www/admin.php,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- admin.php 2001/10/13 19:51:04 1.1
+++ admin.php 2001/10/15 04:46:30 1.2
@@ -3,7 +3,9 @@
include ('lib/db_setup.php');
$top = get_header('GStreamer: Admin', '.');
-
+/*
+ You can't do anything from here anyway, it's easiest if this has no password.
+
if(!isset($PHP_AUTH_USER)) {
Header("WWW-Authenticate: Basic realm=\"gstreamer-admin\"");
Header("HTTP/1.0 401 Unauthorized");
@@ -18,9 +20,9 @@
echo $top, "<p>You must be an authorized user to access the GStreamer administration page. Sorry, holmes.</p>",
get_footer();
exit;
- }
+ } */
echo $top;
- }
+// }
$link = mysql_pconnect ($mysql_host, $mysql_user, $mysql_pass);
mysql_select_db ($mysql_database);
@@ -34,8 +36,9 @@
<li><a href="./status/admin.php">Administer the status page</a></li>
<li><a href="./wiki/admin.php">Administer the wiki</a></li>
<li><a href="./news/admin.php">Administer the news page</a></li>
+ <li><a href="./docs/admin.php">Administer the FAQ</a></li>
</ul>
</p>
<?php echo get_footer(); ?>
-
\ No newline at end of file
+
More information about the Gstreamer-commits
mailing list