| 98 |
|
<? |
| 99 |
|
if ($submit == "Show" && $machine_name && $report) { |
| 100 |
|
|
| 101 |
< |
include("$day/$machine_name/$report/$reportLimitsFile"); |
| 101 |
> |
include("$reportDirectory/$day/$machine_name/$report/$reportLimitsFile"); |
| 102 |
|
|
| 103 |
|
$url = escapeshellcmd("$day/$machine_name/$report/$reportChartFile"); |
| 104 |
< |
if (isReportEmpty("$day/$machine_name/$report/$reportChartDataFile", $minFileSize)) { |
| 104 |
> |
if (isReportEmpty("$reportDirectory/$day/$machine_name/$report/$reportChartDataFile", $minFileSize)) { |
| 105 |
|
echo "Host <b>$machine_name</b> did not send any information about <b>$report</b> on <b>$day</b>. Please select another report."; |
| 106 |
|
} |
| 107 |
|
else if (file_exists($url)) { ?> |