aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/host.php
diff options
context:
space:
mode:
authorPim van den Berg2009-09-28 19:53:38 +0200
committerPim van den Berg2009-09-28 20:05:29 +0200
commitdb5bc6fbd9a568bd3267fecff076da455d5e23f7 (patch)
tree7d215ed55f1aee8a41172def9707e58e9d91c003 /host.php
parentadd a footer to each page (diff)
downloadapt-panopticon_cgp-db5bc6fbd9a568bd3267fecff076da455d5e23f7.zip
apt-panopticon_cgp-db5bc6fbd9a568bd3267fecff076da455d5e23f7.tar.gz
apt-panopticon_cgp-db5bc6fbd9a568bd3267fecff076da455d5e23f7.tar.bz2
apt-panopticon_cgp-db5bc6fbd9a568bd3267fecff076da455d5e23f7.tar.xz
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.
Diffstat (limited to 'host.php')
-rw-r--r--host.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/host.php b/host.php
index 22112e6..aee29d8 100644
--- a/host.php
+++ b/host.php
@@ -1,5 +1,6 @@
1<?php 1<?php
2 2
3require_once 'conf/common.inc.php';
3require_once 'inc/html.inc.php'; 4require_once 'inc/html.inc.php';
4require_once 'inc/collectd.inc.php'; 5require_once 'inc/collectd.inc.php';
5 6