| 1 |
pjm2 |
1.1 |
<?php |
| 2 |
|
|
|
| 3 |
pjm2 |
1.2 |
# The report directory, and the data file name. |
| 4 |
|
|
$latestDirectory = "/usr/local/proj/co600_10/webroot/latest"; |
| 5 |
pjm2 |
1.3 |
$latestData = "latest_data"; |
| 6 |
pjm2 |
1.1 |
|
| 7 |
pjm2 |
1.4 |
# Warning tolerance. I.e. Give a warning if a realtime reports is older |
| 8 |
|
|
# than this time (in seconds). |
| 9 |
|
|
$warning_age = 600; |
| 10 |
|
|
|
| 11 |
pjm2 |
1.1 |
# Page appearance. |
| 12 |
|
|
$lineColor = "#9999ff"; |
| 13 |
|
|
|
| 14 |
|
|
# Files to include |
| 15 |
pjm2 |
1.5 |
$titleHTML = "title.inc.php"; |
| 16 |
pjm2 |
1.1 |
$bottomHTML = "bottom.inc"; |
| 17 |
|
|
|
| 18 |
|
|
# Submission details. |
| 19 |
|
|
$formMethod = "GET"; |
| 20 |
|
|
$thisPage = "latest.php"; |
| 21 |
|
|
|
| 22 |
|
|
# Images |
| 23 |
|
|
$barImage = "bar.gif"; |
| 24 |
|
|
$scaleImage = "scale.gif"; |
| 25 |
|
|
$max_width = 300; |
| 26 |
|
|
|
| 27 |
tdb |
1.6 |
# Values use for escaping (need to match the perl scripts!) |
| 28 |
|
|
# (used mainly in graph.php and rrdgraphing perl scripts) |
| 29 |
|
|
# / converted to a decimal then hex'd |
| 30 |
|
|
$hex_slash = "_2f"; |
| 31 |
|
|
# _ converted to a decimal then hex'd |
| 32 |
|
|
$hex_underscore = "_5f"; |
| 33 |
tdb |
1.7 |
# (space) converted to a decimal then hex'd |
| 34 |
|
|
$hex_space = "_20"; |
| 35 |
|
|
# : converted to a decimal then hex'd |
| 36 |
|
|
$hex_colon = "_3A"; |
| 37 |
|
|
# \ converted to a decimal then hex'd |
| 38 |
|
|
$hex_bslash = "_5C"; |
| 39 |
|
|
# ( converted to a decimal then hex'd |
| 40 |
|
|
$hex_rbracket = "_28"; |
| 41 |
|
|
# ) converted to a decimal then hex'd |
| 42 |
|
|
$hex_lbracket = "_29"; |
| 43 |
|
|
# + converted to a decimal then hex'd |
| 44 |
|
|
$hex_plus = "_2B"; |
| 45 |
|
|
# # converted to a decimal then hex'd |
| 46 |
|
|
$hex_hash = "_23"; |
| 47 |
tdb |
1.6 |
|
| 48 |
pjm2 |
1.5 |
?> |