diff options
Diffstat (limited to '')
-rw-r--r-- | conf/config.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/conf/config.php b/conf/config.php index 23a3a90..da4caa5 100644 --- a/conf/config.php +++ b/conf/config.php | |||
@@ -6,6 +6,7 @@ $CONFIG['version'] = 5; | |||
6 | # Do this here, so it can be overriden, usually in case part of the path is a script for wrapping PHP. | 6 | # Do this here, so it can be overriden, usually in case part of the path is a script for wrapping PHP. |
7 | $CONFIG['webdir'] = preg_replace('/\/[a-z\.]+$/', '', $_SERVER['SCRIPT_FILENAME']); | 7 | $CONFIG['webdir'] = preg_replace('/\/[a-z\.]+$/', '', $_SERVER['SCRIPT_FILENAME']); |
8 | $CONFIG['weburl'] = preg_replace('/(?<=\/)[a-z\.]+$/', '', $_SERVER['SCRIPT_NAME']); | 8 | $CONFIG['weburl'] = preg_replace('/(?<=\/)[a-z\.]+$/', '', $_SERVER['SCRIPT_NAME']); |
9 | $CONFIG['staticurl'] = '/apt-panopticon/apt-panopticon_cgp/'; | ||
9 | 10 | ||
10 | # collectd's datadir | 11 | # collectd's datadir |
11 | $CONFIG['datadir'] = '../apt-panopticon/rrd'; | 12 | $CONFIG['datadir'] = '../apt-panopticon/rrd'; |