Ignore:
Timestamp:
May 8, 2007, 2:48:07 PM (14 years ago)
Author:
Peter Johansson
Message:

fixed trac link problem. fixes #178 and refs #180. Also changed format of config file.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/first_page.cc

    r286 r289  
    164164    std::string timefmt("%b %d %H:%M:%S %Y");
    165165    const size_t maxlength = 80;
    166     const Configuration* conf = Configuration::instance();
     166    const Configuration& conf = Configuration::instance();
    167167    for (size_t i=0; i<10 && a!=log.author().rend(); ++i) {
    168168      os << "<tr><td>" << anchor(*a+"/total/index.html",*a) << "</td>";
     
    181181        mess = mess.substr(0,maxlength-3) + "...";
    182182
    183       if (conf->trac_ticket().empty())
     183      if (conf.trac_root().empty())
    184184        hs << mess;
    185185      else {// make anchors to trac
Note: See TracChangeset for help on using the changeset viewer.