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

tes

parent 47307c21
Loading
Loading
Loading
Loading
+8 −0
Changes for src/blogi.cpp: 8 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -1740,10 +1740,18 @@ RETRY_REQUEST:

            if(!PlgArgs->theme->Controller(tid,curreq)){
                for(const blogi::Plugin::PluginData *curplg=BlogiPlg->getFirstPlugin(); curplg; curplg=curplg->getNextPlg()){
                    try {
                        if(curreq.isMobile())
                            curplg->getInstace()->Rendering(tid,curreq,&index,RenderingType::Mobile,sessid);
                        else
                            curplg->getInstace()->Rendering(tid,curreq,&index,RenderingType::Desktop,sessid);
                    } catch(libhtmlpp::HTMLException &e) {
                        std::cerr << "Rendering plugin error: " << e.what() << std::endl;
                    } catch(const std::exception &e) {
                        std::cerr << "Rendering plugin error: " << e.what() << std::endl;
                    } catch(...) {
                        std::cerr << "Rendering plugin unknown error" << std::endl;
                    }
                }

                for(const blogi::Plugin::PluginData *curplg=BlogiPlg->getFirstPlugin(); curplg; curplg=curplg->getNextPlg()){