Index: trunk/ippMonitor/raw/czartool_getplot.php
===================================================================
--- trunk/ippMonitor/raw/czartool_getplot.php	(revision 35391)
+++ trunk/ippMonitor/raw/czartool_getplot.php	(revision 38258)
@@ -18,10 +18,12 @@
 $plottype = $_GET[plottype];
 
-$path = "/data/ipp009.0/czartool_plots"; # TODO horrible hard-coded path - read from config
+$proj = $_GET[proj];
+
+$path = $CZARPLOTDIR;
 
 if ($label == "all") $label = "all_".$mode."_labels";
 
 if ($type=="t" || $type=="r" || $type=="rt" || $type=="rh")
-$filePath = "$path/czarplot_".$plottype."_".$label."_".$stage."_".$type.".png";
+$filePath = "$path/$proj/czarplot_".$plottype."_".$label."_".$stage."_".$type.".png";
 else if ($type=="h")
 $filePath = "$path/czarplot_".$plottype."_".$label."_all_stages_".$type.".png";
