diff options
| author | 2021-01-18 10:30:22 +0000 | |
|---|---|---|
| committer | 2021-01-18 11:42:25 +0000 | |
| commit | db0052bcc23f8c8bc5d152d7ebbdda492b56cc4c (patch) | |
| tree | a18c79a7453fc41665b43e3e77f47f164834e2b4 /include/configreader.h | |
| parent | Merge branch 'insp3' into master. (diff) | |
| parent | Add a separate stats class for DNSBL errors. (diff) | |
Merge branch 'insp3' into master.
Diffstat (limited to 'include/configreader.h')
| -rw-r--r-- | include/configreader.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/configreader.h b/include/configreader.h index dcc15de09..9b21af446 100644 --- a/include/configreader.h +++ b/include/configreader.h @@ -276,12 +276,16 @@ class CoreExport ServerConfig /** Module path */ std::string Module; + /** Runtime path */ + std::string Runtime; + ServerPaths(std::shared_ptr<ConfigTag> tag); std::string PrependConfig(const std::string& fn) const { return FileSystem::ExpandPath(Config, fn); } std::string PrependData(const std::string& fn) const { return FileSystem::ExpandPath(Data, fn); } std::string PrependLog(const std::string& fn) const { return FileSystem::ExpandPath(Log, fn); } std::string PrependModule(const std::string& fn) const { return FileSystem::ExpandPath(Module, fn); } + std::string PrependRuntime(const std::string& fn) const { return FileSystem::ExpandPath(Runtime, fn); } }; /** Holds a complete list of all connect blocks |
