diff options
Diffstat (limited to '')
-rw-r--r-- | plugin/processes.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugin/processes.php b/plugin/processes.php index 445e1e4..32a925d 100644 --- a/plugin/processes.php +++ b/plugin/processes.php | |||
@@ -2,8 +2,8 @@ | |||
2 | 2 | ||
3 | # Collectd CPU plugin | 3 | # Collectd CPU plugin |
4 | 4 | ||
5 | require_once $CONFIG['webdir'].'/conf/config.php'; | 5 | require_once 'conf/common.inc.php'; |
6 | require_once $CONFIG['webdir'].'/type/GenericStacked.class.php'; | 6 | require_once 'type/GenericStacked.class.php'; |
7 | 7 | ||
8 | ## LAYOUT | 8 | ## LAYOUT |
9 | # processes/ | 9 | # processes/ |
@@ -15,7 +15,7 @@ require_once $CONFIG['webdir'].'/type/GenericStacked.class.php'; | |||
15 | # processes/ps_state-sleeping.rrd | 15 | # processes/ps_state-sleeping.rrd |
16 | 16 | ||
17 | # grouped | 17 | # grouped |
18 | require_once $CONFIG['webdir'].'/inc/collectd.inc.php'; | 18 | require_once 'inc/collectd.inc.php'; |
19 | $tinstance = collectd_plugindetail($host, $plugin, 'ti'); | 19 | $tinstance = collectd_plugindetail($host, $plugin, 'ti'); |
20 | 20 | ||
21 | $obj = new Type_GenericStacked; | 21 | $obj = new Type_GenericStacked; |