# | Line 126 | Line 126 | function showBar($title, $value, $max, $input) { | |
---|---|---|
126 | ||
127 | # Read the file. | |
128 | #$input = "packet.attributes.machine_name=raptor.ukc.ac.uk,packet.memory.free=10,packet.memory.total=100,"; | |
129 | < | $input = file("$latestDirectory/$machine/latest_data"); |
129 | > | $input = file("$latestDirectory/$machine/$latestData"); |
130 | # All we need is the first line if there is more than one line. | |
131 | $input = $input[0]; | |
132 |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |