Commit 4c5757c0 authored by jan.koester's avatar jan.koester
Browse files

test

parent 3b05bd3a
Loading
Loading
Loading
Loading
+6 −0
Changes for src/blogi.cpp: 6 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -590,6 +590,12 @@ RETRY_REQUEST:
                sitemapXML(curreq,tid,sessid);
                return;
            }else if(curreq.getRequestURL().compare(0,PlgArgs->config->buildurl("editor").length(),PlgArgs->config->buildurl("editor"))==0){
                std::string sessionid;
                if(!PlgArgs->auth->isLoggedIn(tid,curreq,sessionid)){
                    libhttppp::HTTPException err;
                    err[libhttppp::HTTPException::Error] << "you are not logged in permission denied";
                    throw err;
                }
                webedit::WebEditor(*PlgArgs,curreq,tid,sessid);
                return;
            }else if(curreq.getRequestURL().compare(0,PlgArgs->config->buildurl("render").length(),PlgArgs->config->buildurl("render"))==0){