diff options
Diffstat (limited to 'plugin/memory.php')
-rw-r--r-- | plugin/memory.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugin/memory.php b/plugin/memory.php index 7944238..29f93fe 100644 --- a/plugin/memory.php +++ b/plugin/memory.php | |||
@@ -2,8 +2,8 @@ | |||
2 | 2 | ||
3 | # Collectd Memory plugin | 3 | # Collectd Memory 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 | # memory/ | 9 | # memory/ |
@@ -13,7 +13,7 @@ require_once $CONFIG['webdir'].'/type/GenericStacked.class.php'; | |||
13 | # memory/memory-used.rrd | 13 | # memory/memory-used.rrd |
14 | 14 | ||
15 | # grouped | 15 | # grouped |
16 | require_once $CONFIG['webdir'].'/inc/collectd.inc.php'; | 16 | require_once 'inc/collectd.inc.php'; |
17 | $tinstance = collectd_plugindetail($host, $plugin, 'ti'); | 17 | $tinstance = collectd_plugindetail($host, $plugin, 'ti'); |
18 | 18 | ||
19 | $obj = new Type_GenericStacked; | 19 | $obj = new Type_GenericStacked; |