blob: 0f440310b70f32a0fa927cc8c88870eb7220ec0e [file] [log] [blame]
<!-- Loads all build types based on buildTypes.file file -->
<!-- The result is 3 globals:
- buildTypes[]
- buildLabels[]
- typeToLabels[]
-->
<?php
global $buildTypes, $buildLabels, $typeTolabels;
$fileHandle = fopen("buildTypes.file", "r");
while (!feof($fileHandle)) {
$aLine = fgets($fileHandle, 4096);
parse_str($aLine);
}
fclose($fileHandle);
for ($i = 0; $i < count($buildTypes); $i++) {
$typeToLabels[$buildTypes[$i]] = $buildLabels[$i];
}
?>