From db5bc6fbd9a568bd3267fecff076da455d5e23f7 Mon Sep 17 00:00:00 2001 From: Pim van den Berg Date: Mon, 28 Sep 2009 19:53:38 +0200 Subject: change webdir/weburl and include/require usage - Don't depend on includes from files that are included. - Don't use webdir with includes/requires (also because webdir couldn't be available in some cases). - Use common.inc.php instead of config.php in all plugins to have all configuration settings available. --- inc/html.inc.php | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'inc/html.inc.php') diff --git a/inc/html.inc.php b/inc/html.inc.php index 1001381..0a5b342 100644 --- a/inc/html.inc.php +++ b/inc/html.inc.php @@ -1,13 +1,17 @@ Collectd Graph Panel - + @@ -22,8 +26,6 @@ function html_end() { EOT; } -require_once 'conf/common.inc.php'; -require_once 'inc/rrdtool.class.php'; function host_summary($hosts) { global $CONFIG; -- cgit v1.1