added GUI interface to edit the path translations

This commit is contained in:
Jean-Francois Dockes
2013-03-26 18:49:59 +01:00
parent 6a4a385657
commit 6c41ff55d6
15 changed files with 429 additions and 59 deletions
+1 -1
View File
@@ -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);
+4 -1
View File
@@ -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;