diff options
author | Pim van den Berg | 2013-02-09 22:57:04 +0100 |
---|---|---|
committer | Pim van den Berg | 2013-02-09 22:57:04 +0100 |
commit | bae7725e9920e95caf6c072b29892165d784549b (patch) | |
tree | 117bd60bd4d0c9847bb69432db1688021a9d4ad2 /conf/config.php | |
parent | plugin: remove php close tags (diff) | |
download | apt-panopticon_cgp-bae7725e9920e95caf6c072b29892165d784549b.zip apt-panopticon_cgp-bae7725e9920e95caf6c072b29892165d784549b.tar.gz apt-panopticon_cgp-bae7725e9920e95caf6c072b29892165d784549b.tar.bz2 apt-panopticon_cgp-bae7725e9920e95caf6c072b29892165d784549b.tar.xz |
detail.php: make terms configurable
Diffstat (limited to 'conf/config.php')
-rw-r--r-- | conf/config.php | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/conf/config.php b/conf/config.php index 1862044..b2fdc78 100644 --- a/conf/config.php +++ b/conf/config.php | |||
@@ -25,6 +25,16 @@ $CONFIG['time_range']['uptime'] = 31536000; | |||
25 | # show load averages on overview page | 25 | # show load averages on overview page |
26 | $CONFIG['showload'] = true; | 26 | $CONFIG['showload'] = true; |
27 | 27 | ||
28 | $CONFIG['term'] = array( | ||
29 | '2hour' => 3600 * 2, | ||
30 | '8hour' => 3600 * 8, | ||
31 | 'day' => 86400, | ||
32 | 'week' => 86400 * 7, | ||
33 | 'month' => 86400 * 31, | ||
34 | 'quarter'=> 86400 * 31 * 3, | ||
35 | 'year' => 86400 * 365, | ||
36 | ); | ||
37 | |||
28 | # show graphs in bits or bytes | 38 | # show graphs in bits or bytes |
29 | $CONFIG['network_datasize'] = 'bytes'; | 39 | $CONFIG['network_datasize'] = 'bytes'; |
30 | 40 | ||