Loading src/conf.cpp +0 −1 Changes for src/conf.cpp: 0 added lines, 1 removed line. Original line number Diff line number Diff line Loading @@ -122,7 +122,6 @@ blogi::Config::Config(const std::string &path) : confplus::Config(path), _Config try { dc.startPage = getValue(getKey((base + "/STARTPAGE").c_str()), 0); } catch(...) {} try { dc.mediaDBUrl = getValue(getKey((base + "/MEDIA_URL").c_str()), 0); } catch(...) {} try { dc.tmpDir = getValue(getKey((base + "/TMPDIR").c_str()), 0); } catch(...) { dc.tmpDir = "/tmp/blogi"; } try { dc.chrootDir = getValue(getKey((base + "/CHROOTDIR").c_str()), 0); } catch(...) {} try { auto *plgKey = getKey((base + "/PLUGINDIR").c_str()); Loading src/conf.h +0 −1 Changes for src/conf.h: 0 added lines, 1 removed line. Original line number Diff line number Diff line Loading @@ -68,7 +68,6 @@ namespace blogi { std::vector<std::string> plgDirs; std::string mediaDBUrl; std::string tmpDir; std::string chrootDir; const std::string buildurl(const std::string &url) const; }; Loading Loading
src/conf.cpp +0 −1 Changes for src/conf.cpp: 0 added lines, 1 removed line. Original line number Diff line number Diff line Loading @@ -122,7 +122,6 @@ blogi::Config::Config(const std::string &path) : confplus::Config(path), _Config try { dc.startPage = getValue(getKey((base + "/STARTPAGE").c_str()), 0); } catch(...) {} try { dc.mediaDBUrl = getValue(getKey((base + "/MEDIA_URL").c_str()), 0); } catch(...) {} try { dc.tmpDir = getValue(getKey((base + "/TMPDIR").c_str()), 0); } catch(...) { dc.tmpDir = "/tmp/blogi"; } try { dc.chrootDir = getValue(getKey((base + "/CHROOTDIR").c_str()), 0); } catch(...) {} try { auto *plgKey = getKey((base + "/PLUGINDIR").c_str()); Loading
src/conf.h +0 −1 Changes for src/conf.h: 0 added lines, 1 removed line. Original line number Diff line number Diff line Loading @@ -68,7 +68,6 @@ namespace blogi { std::vector<std::string> plgDirs; std::string mediaDBUrl; std::string tmpDir; std::string chrootDir; const std::string buildurl(const std::string &url) const; }; Loading