aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authoronefang2020-01-04 18:26:32 +1000
committeronefang2020-01-04 18:26:32 +1000
commita9ab5a181556e9ad6b17328b25fa643a99226a10 (patch)
tree11071844085db8cdac7ad8a67756620ff2bfbae7
parentFix up static URLs that got broken going through php.cgi. (diff)
downloadapt-panopticon_cgp-a9ab5a181556e9ad6b17328b25fa643a99226a10.zip
apt-panopticon_cgp-a9ab5a181556e9ad6b17328b25fa643a99226a10.tar.gz
apt-panopticon_cgp-a9ab5a181556e9ad6b17328b25fa643a99226a10.tar.bz2
apt-panopticon_cgp-a9ab5a181556e9ad6b17328b25fa643a99226a10.tar.xz
Make it the default to.
Diffstat (limited to '')
-rw-r--r--conf/config.php1
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';