2011-06-14 Segio Martin <sergio.martin@artica.es>

* include/functions_graph.php: Fixed manual definition of
	homedir



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4445 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
zarzuelo 2011-06-14 14:08:14 +00:00
parent 7b4e42008f
commit 8da5c2dbe8
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2011-06-14 Segio Martin <sergio.martin@artica.es>
* include/functions_graph.php: Fixed manual definition of
homedir
2011-06-14 Sergio Martin <sergio.martin@artica.es>
* include/functions_events.php

View File

@ -798,7 +798,7 @@ function progress_bar2($progress, $width, $height, $title = '', $mode = 1) {
$title = "";
require_once("include_graph_dependencies.php");
include_graphs_dependencies("/var/www/pandora/");
include_graphs_dependencies($config['homedir'].'/');
return "<img title='" . $title . "' alt='" . $title . "' src='include/graphs/fgraph.php?homeurl=../../&graph_type=progressbar&width=".$width."&height=".$height."&progress=".$progress.
"&mode=" . $mode . "&out_of_lim_str=".$out_of_lim_str."&title=".$title."&font=".$config['fontpath']."' />";