mirror of https://github.com/BOINC/boinc.git
parent
08d6b25aa4
commit
6601bcbb69
|
@ -165,11 +165,11 @@ function parse_element($xml, $tag) {
|
||||||
return $element;
|
return $element;
|
||||||
}
|
}
|
||||||
|
|
||||||
// look for a particular element in the config.xml file
|
// look for a particular element in the .htconfig.xml file
|
||||||
//
|
//
|
||||||
function parse_config($tag) {
|
function parse_config($tag) {
|
||||||
$element = null;
|
$element = null;
|
||||||
$fp = fopen("config.xml", "r");
|
$fp = fopen(".htconfig.xml", "r");
|
||||||
while (1) {
|
while (1) {
|
||||||
$buf = fgets($fp, 1024);
|
$buf = fgets($fp, 1024);
|
||||||
if ($buf == null) break;
|
if ($buf == null) break;
|
||||||
|
|
Loading…
Reference in New Issue