Revision 556687cf
Added by Jim Pingle almost 15 years ago
usr/local/www/status_rrd_graph_img.php | ||
---|---|---|
186 | 186 |
$speedlimit = ($upstream + $downstream); |
187 | 187 |
|
188 | 188 |
/* select theme colors if the inclusion file exists */ |
189 |
$rrdcolors = "./themes/{$g['theme']}/rrdcolors.inc.php";
|
|
189 |
$rrdcolors = "{$g['www_path']}/themes/{$g['theme']}/rrdcolors.inc.php";
|
|
190 | 190 |
if(file_exists($rrdcolors)) { |
191 | 191 |
include($rrdcolors); |
192 | 192 |
} else { |
Also available in: Unified diff
Use www_path here instead of a relative path.