Commit e839ff8b authored by Skia's avatar Skia
Browse files

Update trees and graphs

parent 3a733504
......@@ -76,7 +76,7 @@ class treects extends itemlist
else
$this->title = $title;
$this->tree_itere(&$this,$start);
$this->tree_itere($this,$start);
}
......@@ -108,7 +108,7 @@ class treects extends itemlist
{
$this->data[$sid]["done"]=1;
$nitm = new itemlist($title);
$this->tree_itere(&$nitm,$sid);
$this->tree_itere($nitm,$sid);
$itm->add($nitm);
}
}
......
......@@ -297,7 +297,7 @@ class graphic
//$info=array();
//$ret=0;
exec ("/usr/share/php5/exec/gnuplot-4.2 " .$this->conf_file/*,$info,$ret*/);
exec ("/usr/bin/gnuplot " .$this->conf_file/*,$info,$ret*/);
//print_r($info);
//echo $ret;
}
......@@ -315,7 +315,6 @@ class graphic
$img_wmarked->save_image($this->img_file);
$img_wmarked->destroy();
header("Pragma: public");
header("Expires: 0");
header("Cache-Control: must-revalidate, post-check=0, pre-check=0");
......@@ -395,7 +394,7 @@ class histogram
function png_render ()
{
exec ("/usr/share/php5/exec/gnuplot-4.2 " .$this->conf_file);
exec ("/usr/bin/gnuplot " .$this->conf_file);
/* tunage sauce AE */
$img_wmarked = new img_watermark (imagecreatefrompng($this->img_file));
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment