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 --- detail.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'detail.php') diff --git a/detail.php b/detail.php index e9e80a0..a7b2cd4 100644 --- a/detail.php +++ b/detail.php @@ -23,7 +23,7 @@ $seconds = GET('s'); html_start(); printf('

%s

'."\n", - $CONFIG['weburl'].'/host.php?h='.htmlentities($host), $host + $CONFIG['weburl'].'host.php?h='.htmlentities($host), $host ); $term = array( @@ -40,7 +40,7 @@ $args = $_GET; print "\n"; @@ -53,7 +53,7 @@ if(!$plugins) { } # show graph -printf(''."\n", $CONFIG['weburl'], build_url('graph.php', $_GET)); +printf(''."\n", $CONFIG['weburl'], build_url('graph.php', $_GET)); html_end(); -- cgit v1.1