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

test

parent 991de454
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -150,10 +150,12 @@ const char * blogi::Config::getRedisHost(){
}

const char * blogi::Config::getRedisPassword(){
    if(_PlsConfig->getKey("/BLOGI/REDIS/PASSWORD"))
    try{
        return _PlsConfig->getValue(_PlsConfig->getKey("/BLOGI/REDIS/PASSWORD"),0);
    }catch(...){
        return nullptr;
    }
}

int blogi::Config::getRedisPort(){
    if(_PlsConfig->getKey("/BLOGI/REDIS/PORT"))