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/html_utility.cc

    r285 r289  
    130130  std::string trac_revision(size_t r)
    131131  {
    132     Configuration* conf = Configuration::instance();
     132    const Configuration& conf = Configuration::instance();
    133133    std::stringstream ss;
    134     if (conf->trac_revision().empty())
     134    if (conf.trac_root().empty())
    135135      ss << r;
    136136    else {
    137137      std::stringstream rev;
    138138      rev << r;
    139       ss << anchor(conf->trac_revision()+rev.str(), rev.str());
     139      ss << anchor(conf.trac_root()+"changeset/"+rev.str(), rev.str());
    140140    }
    141141    return ss.str();
Note: See TracChangeset for help on using the changeset viewer.