Commit 0e0bc138 authored by jan.koester's avatar jan.koester
Browse files

test

parent de89f1d1
Loading
Loading
Loading
Loading
+0 −12
Changes for src/conf.cpp: 0 added lines, 12 removed lines.
Original line number Diff line number Diff line
@@ -103,18 +103,6 @@ blogi::Config::Config(const std::string &path) : confplus::Config(path), _Config
    }catch(...){
    }

    try{
        _TmpDir=getValue(getKey("/BLOGI/TMPDIR"),0);
    }catch(...){
        _TmpDir="/tmp/blogi";
    }

    try{
        _MediaDBUrl=getValue(getKey("/BLOGI/MEDIADB/URL"),0);
    }catch(...){
        _MediaDBUrl="https://127.0.0.1:8442";
    }

    // Parse multi-domain configurations.
    // The libconfplus YAML loader produces a fully indexed tree: each entry of
    // the DOMAINS sequence lives under /BLOGI/DOMAINS/<i>/... .