mirror of https://github.com/BOINC/boinc.git
Changes for database names
svn path=/trunk/boinc/; revision=181
This commit is contained in:
parent
5721f6b3c2
commit
9707aa3f00
|
@ -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);
|
||||
}
|
||||
|
||||
?>
|
||||
|
|
Loading…
Reference in New Issue