mirror of https://github.com/BOINC/boinc.git
admin web: tweak to server status page
This commit is contained in:
parent
eddebcc209
commit
5c5f996809
|
@ -385,6 +385,7 @@ function get_job_status() {
|
||||||
$s->hosts_past_24_hours = BoincHost::count("create_time > (unix_timestamp() - 86400)");
|
$s->hosts_past_24_hours = BoincHost::count("create_time > (unix_timestamp() - 86400)");
|
||||||
$s->flops = BoincUser::sum("expavg_credit")/200;
|
$s->flops = BoincUser::sum("expavg_credit")/200;
|
||||||
|
|
||||||
|
$s->db_revision = null;
|
||||||
if (file_exists("../../db_revision")) {
|
if (file_exists("../../db_revision")) {
|
||||||
$s->db_revision = trim(file_get_contents("../../db_revision"));
|
$s->db_revision = trim(file_get_contents("../../db_revision"));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue