- 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:
David Anderson 2007-06-06 14:10:28 +00:00
parent 26ff81ff42
commit ad6c38f6d4
2 changed files with 13 additions and 1 deletions

View File

@ -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

View File

@ -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);