From bae7725e9920e95caf6c072b29892165d784549b Mon Sep 17 00:00:00 2001 From: Pim van den Berg Date: Sat, 9 Feb 2013 22:57:04 +0100 Subject: detail.php: make terms configurable --- conf/config.php | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'conf') 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; # show load averages on overview page $CONFIG['showload'] = true; +$CONFIG['term'] = array( + '2hour' => 3600 * 2, + '8hour' => 3600 * 8, + 'day' => 86400, + 'week' => 86400 * 7, + 'month' => 86400 * 31, + 'quarter'=> 86400 * 31 * 3, + 'year' => 86400 * 365, +); + # show graphs in bits or bytes $CONFIG['network_datasize'] = 'bytes'; -- cgit v1.1