Index: trunk/ippMonitor/raw/czartool_getplot.php
===================================================================
--- trunk/ippMonitor/raw/czartool_getplot.php	(revision 31891)
+++ trunk/ippMonitor/raw/czartool_getplot.php	(revision 32094)
@@ -18,14 +18,16 @@
 $plottype = $_GET[plottype];
 
+$path = "/data/ipp004.0/czartool_plots/"; # TODO horrible hard-coded path - read from config
+
 if ($label == "all") $label = "all_".$mode."_labels";
 
 if ($type=="t" || $type=="r" || $type=="rt" || $type=="rh")
-$filePath = "/tmp/czarplot_".$plottype."_".$label."_".$stage."_".$type.".png";
+$filePath = "$path/czarplot_".$plottype."_".$label."_".$stage."_".$type.".png";
 else if ($type=="h")
-$filePath = "/tmp/czarplot_".$plottype."_".$label."_all_stages_".$type.".png";
+$filePath = "$path/czarplot_".$plottype."_".$label."_all_stages_".$type.".png";
 else if ($type=="s")
-$filePath = "/tmp/czarplot_hosts_space.png";
+$filePath = "$path/czarplot_hosts_space.png";
 else if ($type=="st")
-$filePath = "/tmp/czarplot_cluster.png";
+$filePath = "$path/czarplot_cluster.png";
 
 
