Changeset 1014 for trunk/lib/Directory.cc
- Timestamp:
- Jan 5, 2010, 9:22:59 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/Directory.cc
r1013 r1014 164 164 165 165 const Stats& stats = stats_[stats_type]; 166 std::string outdir = stats_type+"/"+user+"/"+line_type+"/"+local_path(); 167 if (local_path()=="") 168 outdir = stats_type+"/"+user+"/"+line_type; 169 166 std::string imagedir = stats_type+"/"+"images/"+line_type; 167 std::string outdir = stats_type+"/"+user+"/" +line_type; 168 if (local_path()!="") { 169 imagedir += "/"+local_path(); 170 outdir += "/"+local_path(); 171 } 170 172 mkdir(outdir); 171 std::string imagedir = stats_type+"/"+"images/"+line_type+"/"+local_path();172 173 if (user=="all") 173 174 mkdir(imagedir); … … 188 189 ss << "../../../"; 189 190 if (user=="all") 190 ss << stats.plot(imagedir+" index", line_type);191 ss << stats.plot(imagedir+"/index", line_type); 191 192 else 192 ss << imagedir << " index";193 ss << imagedir << "/index"; 193 194 os << "<p class=\"plot\">\n"; 194 195 os << image(Configuration::instance().image_format(), ss.str());
Note: See TracChangeset
for help on using the changeset viewer.