IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Aug 15, 2011, 1:56:27 PM (15 years ago)
Author:
rhenders
Message:

using new path for plots. hardcoded for now, will read from config in future

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippMonitor/raw/czartool_getplot.php

    r31891 r32094  
    1818$plottype = $_GET[plottype];
    1919
     20$path = "/data/ipp004.0/czartool_plots/"; # TODO horrible hard-coded path - read from config
     21
    2022if ($label == "all") $label = "all_".$mode."_labels";
    2123
    2224if ($type=="t" || $type=="r" || $type=="rt" || $type=="rh")
    23 $filePath = "/tmp/czarplot_".$plottype."_".$label."_".$stage."_".$type.".png";
     25$filePath = "$path/czarplot_".$plottype."_".$label."_".$stage."_".$type.".png";
    2426else if ($type=="h")
    25 $filePath = "/tmp/czarplot_".$plottype."_".$label."_all_stages_".$type.".png";
     27$filePath = "$path/czarplot_".$plottype."_".$label."_all_stages_".$type.".png";
    2628else if ($type=="s")
    27 $filePath = "/tmp/czarplot_hosts_space.png";
     29$filePath = "$path/czarplot_hosts_space.png";
    2830else if ($type=="st")
    29 $filePath = "/tmp/czarplot_cluster.png";
     31$filePath = "$path/czarplot_cluster.png";
    3032
    3133
Note: See TracChangeset for help on using the changeset viewer.