Commit b3bb5bce authored by jan.koester's avatar jan.koester
Browse files

test

parent f36bd086
Loading
Loading
Loading
Loading
+2 −1
Changes for src/blogi.cpp: 2 added lines, 1 removed line.
Original line number Diff line number Diff line
@@ -2218,7 +2218,8 @@ public:
                blogi::Blogi::Cfg->gethttpport(),
                blogi::Blogi::Cfg->gethttpmaxcon(),
                blogi::Blogi::Cfg->getsslcertpath(),
                blogi::Blogi::Cfg->getsslkeypath()
                blogi::Blogi::Cfg->getsslkeypath(),
                blogi::Blogi::Cfg->getsslpassword()
            ){
        libhttppp::HTTPException httpexception;
        try {
+8 −0
Changes for src/conf.cpp: 8 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -93,6 +93,10 @@ blogi::Config::Config(const std::string &path) : confplus::Config(path){
        _SSLKeypath=getValue(getKey("/BLOGI/SSL/KEY"),0);
    }catch(...){
    }
    try{
        _SSLPassword=getValue(getKey("/BLOGI/SSL/PASSWORD"),0);
    }catch(...){
    }
    _Domain=getValue(getKey("/BLOGI/DOMAIN/NAME"),0);

    try{
@@ -192,6 +196,10 @@ const std::string & blogi::Config::getsslkeypath() const{
    return _SSLKeypath;
}

const std::string & blogi::Config::getsslpassword() const{
    return _SSLPassword;
}

const std::string & blogi::Config::getDomain() const{
    return _Domain;
}
+2 −0
Changes for src/conf.h: 2 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -81,6 +81,7 @@ namespace blogi {

        const std::string &getsslcertpath() const;
        const std::string &getsslkeypath() const;
        const std::string &getsslpassword() const;

        const std::string &getDomain() const;

@@ -106,6 +107,7 @@ namespace blogi {
        std::string               _StartPage;
        std::string               _SSLCertpath;
        std::string               _SSLKeypath;
        std::string               _SSLPassword;
        std::string               _Domain;
        std::string               _CookieDomain;
        std::string               _TmpDir;