added GUI interface to edit the path translations
This commit is contained in:
@@ -218,7 +218,7 @@ RclConfig::RclConfig(const string *argcnf)
|
||||
if (!readFieldsConfig(cnferrloc))
|
||||
return;
|
||||
|
||||
m_ptrans = new ConfSimple(path_cat(m_confdir, "ptrans").c_str(), 1);
|
||||
m_ptrans = new ConfSimple(path_cat(m_confdir, "ptrans").c_str());
|
||||
|
||||
m_ok = true;
|
||||
setKeyDir(cstr_null);
|
||||
|
||||
@@ -152,7 +152,10 @@ class RclConfig {
|
||||
string getIdxStatusFile() const;
|
||||
/** Do path translation according to the ptrans table */
|
||||
void urlrewrite(const string& dbdir, string& url) const;
|
||||
|
||||
ConfSimple *getPTrans()
|
||||
{
|
||||
return m_ptrans;
|
||||
}
|
||||
/** Get Web Queue directory name */
|
||||
string getWebQueueDir() const;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user