summaryrefslogtreecommitdiffstats
path: root/usr/local/www/status_rrd_graph_img.php
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2010-08-26 11:34:14 -0400
committerjim-p <jimp@pfsense.org>2010-08-26 11:34:41 -0400
commit556687cf1741d8bedab48025690a5b56b164d8cb (patch)
tree225d09b79848e793388e1a28138b4d9ab6315fe5 /usr/local/www/status_rrd_graph_img.php
parent39a12bf5c872263c9b11647088034677f45fb8d1 (diff)
downloadpfsense-556687cf1741d8bedab48025690a5b56b164d8cb.zip
pfsense-556687cf1741d8bedab48025690a5b56b164d8cb.tar.gz
Use www_path here instead of a relative path.
Diffstat (limited to 'usr/local/www/status_rrd_graph_img.php')
-rw-r--r--usr/local/www/status_rrd_graph_img.php2
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 {
OpenPOWER on IntegriCloud