- Project initialization: create project home page

and schedulers.txt file in a way that will work
    with UMTS ISPs (which strip out comments)

html/user/
    sample_index.php
py/Boinc/
    setup_project.py

svn path=/trunk/boinc/; revision=12896
This commit is contained in:
David Anderson 2007-06-11 22:19:02 +00:00
parent e8d8a28e63
commit dd6ec58155
3 changed files with 11 additions and 3 deletions

View File

@ -6085,3 +6085,13 @@ David 11 June 2007
graphics2_unix.C
client/
cpu_sched.C
David 11 June 2007
- Project initialization: create project home page
and schedulers.txt file in a way that will work
with UMTS ISPs (which strip out comments)
html/user/
sample_index.php
py/Boinc/
setup_project.py

View File

@ -131,13 +131,11 @@ echo "
<a href=\"rss_main.php\">RSS feed</a> <img src=\"xml.gif\" alt=\"XML\">.</p>
</td>
</tr></table>
<!--
";
include 'schedulers.txt';
echo "
-->
";
if ($caching) {

View File

@ -508,7 +508,7 @@ class Project:
else:
scheduler_file = 'schedulers.txt'
f = open(self.dir('html/user', scheduler_file), 'w')
print >>f, "<scheduler>" + self.scheduler_url.strip(), "</scheduler>"
print >>f, "<!-- <scheduler>" + self.scheduler_url.strip(), "</scheduler> -->"
print >>f, "<link rel=\"boinc_scheduler\" href=\"" + self.scheduler_url.strip()+ "\">"
f.close()