admin web: tweak to server status page

This commit is contained in:
David Anderson 2015-01-29 13:21:37 -08:00
parent eddebcc209
commit 5c5f996809
1 changed files with 1 additions and 0 deletions

View File

@ -385,6 +385,7 @@ function get_job_status() {
$s->hosts_past_24_hours = BoincHost::count("create_time > (unix_timestamp() - 86400)");
$s->flops = BoincUser::sum("expavg_credit")/200;
$s->db_revision = null;
if (file_exists("../../db_revision")) {
$s->db_revision = trim(file_get_contents("../../db_revision"));
}