Changes for database names

svn path=/trunk/boinc/; revision=181
This commit is contained in:
Barry Luong 2002-07-11 20:48:29 +00:00
parent 5721f6b3c2
commit 9707aa3f00
1 changed files with 13 additions and 1 deletions

View File

@ -5,7 +5,8 @@ function db_init() {
if (!$retval) {
exit();
}
mysql_select_db("boinc");
//mysql_select_db("boinc_barry");
mysql_select_db(getenv("BOINC_DB_NAME"));
}
function lookup_user_auth($auth) {
@ -150,4 +151,15 @@ function show_user($user) {
echo "</table>\n";
}
function show_team($team) {
start_table();
row("ID", $team->id);
row("founder", $team->userid);
row("name", $team->name);
row("url", $team->url);
row("type", $team->type);
row("name_html", $team->name_html);
row("description", $team->description);
}
?>