Loading src/blogi.cpp +8 −0 Changes for src/blogi.cpp: 8 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -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()){ Loading Loading
src/blogi.cpp +8 −0 Changes for src/blogi.cpp: 8 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -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()){ Loading