mirror of https://github.com/BOINC/boinc.git
- new <platform> elements in get_project_config.php
confuse the client because their <name> element gets parsed as the project name. Work around by changing to <platform_name>. Note: here (and everywhere else) if we get an unparsed XML tag we should skip to past the close tag. I'll put this in soon. html/user/ get_project_config.php svn path=/trunk/boinc/; revision=12834
This commit is contained in:
parent
26ff81ff42
commit
ad6c38f6d4
|
@ -5810,3 +5810,15 @@ Charlie 6 June 2007
|
|||
mac/
|
||||
SetupSecurity.cpp
|
||||
SetVersion.C
|
||||
|
||||
David 6 June 2007
|
||||
- new <platform> elements in get_project_config.php
|
||||
confuse the client because their <name> element
|
||||
gets parsed as the project name.
|
||||
Work around by changing to <platform_name>.
|
||||
|
||||
Note: here (and everywhere else) if we get an unparsed XML tag
|
||||
we should skip to past the close tag.
|
||||
I'll put this in soon.
|
||||
html/user/
|
||||
get_project_config.php
|
||||
|
|
|
@ -24,7 +24,7 @@ function show_platforms() {
|
|||
fwrite($f, "<platforms>\n");
|
||||
while ($p = mysql_fetch_object($result)) {
|
||||
fwrite($f,
|
||||
" <platform>\n <name>$p->name</name>\n <user_friendly_name>$p->user_friendly_name</user_friendly_name>\n </platform>\n"
|
||||
" <platform>\n <platform_name>$p->name</platform_name>\n <user_friendly_name>$p->user_friendly_name</user_friendly_name>\n </platform>\n"
|
||||
);
|
||||
}
|
||||
mysql_free_result($result);
|
||||
|
|
Loading…
Reference in New Issue