diff options
author | jim-p <jimp@pfsense.org> | 2010-08-26 11:34:14 -0400 |
---|---|---|
committer | jim-p <jimp@pfsense.org> | 2010-08-26 11:34:41 -0400 |
commit | 556687cf1741d8bedab48025690a5b56b164d8cb (patch) | |
tree | 225d09b79848e793388e1a28138b4d9ab6315fe5 /usr | |
parent | 39a12bf5c872263c9b11647088034677f45fb8d1 (diff) | |
download | pfsense-556687cf1741d8bedab48025690a5b56b164d8cb.zip pfsense-556687cf1741d8bedab48025690a5b56b164d8cb.tar.gz |
Use www_path here instead of a relative path.
Diffstat (limited to 'usr')
-rw-r--r-- | usr/local/www/status_rrd_graph_img.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/status_rrd_graph_img.php b/usr/local/www/status_rrd_graph_img.php index fecb8d5..2807370 100644 --- a/usr/local/www/status_rrd_graph_img.php +++ b/usr/local/www/status_rrd_graph_img.php @@ -186,7 +186,7 @@ if ($altq_list_queues[$curif]) { $speedlimit = ($upstream + $downstream); /* select theme colors if the inclusion file exists */ -$rrdcolors = "./themes/{$g['theme']}/rrdcolors.inc.php"; +$rrdcolors = "{$g['www_path']}/themes/{$g['theme']}/rrdcolors.inc.php"; if(file_exists($rrdcolors)) { include($rrdcolors); } else { |