From a652177a65cc17c8dddaa739d30ce40dc20d68a9 Mon Sep 17 00:00:00 2001 From: Pim van den Berg Date: Sat, 8 Oct 2011 11:29:11 +0200 Subject: include trailing slash in config weburl variable When running CGP in the root, the header didn't link to the overview page because the href was empty. Reported-by: Nikoli --- inc/collectd.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'inc/collectd.inc.php') diff --git a/inc/collectd.inc.php b/inc/collectd.inc.php index 11dc91f..439d507 100644 --- a/inc/collectd.inc.php +++ b/inc/collectd.inc.php @@ -133,7 +133,7 @@ function graphs_from_plugin($host, $plugin) { ? $CONFIG['time_range'][$plugin] : $CONFIG['time_range']['default']; - printf(''."\n", + printf(''."\n", $CONFIG['weburl'], build_url('detail.php', $items, $time), $CONFIG['weburl'], -- cgit v1.1