blob: 891762f79b17d50571cf61654d00f01eb78e1d1f [file] [log] [blame]
david_williams97651d12007-07-28 03:46:34 +00001<?
2function displayBuildMachine()
3{
4 include 'parseProperties.php';
5 $properties = parseProperties("buildmachineinfo.properties");
6 $constString = "This build brought to you by ";
7 $varString = "";
8 $buildComputerPropValue = $properties["buildComputer"];
9
10 if (strcmp($buildComputerPropValue, "build") == 0) {
11 $varString = "a server donated from lomboz.org";
12 }
13 else {
14 if (strcmp($buildComputerPropValue, "utils") == 0) {
15 $varString = "a server donated from eclipse.org";
16 }
17 else {
18 $varString = " a non-standard build server: ".$buildComputerPropValue;
19 }
20 }
21 $result = $constString.$varString;
22 return $result;
23}
24
25?>