Commit 8187dcfa authored by jan.koester's avatar jan.koester
Browse files

test

parent ba7a8dee
Loading
Loading
Loading
Loading
+6 −2
Changes for plugins/template/template.cpp: 6 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -424,7 +424,7 @@ namespace blogi {
    public:

        void Rendering(const int tid,libhttppp::HttpRequest &req,libhtmlpp::HtmlElement* curpage,int type,const std::string &sessionid=""){

            try {
                dbpp::SQL sql;
                dbpp::DBResult res;
                sql << "select id,layer,html,type from templates";
@@ -450,7 +450,11 @@ namespace blogi {
                            el->appendChild(buf.parse());
                    }
                }

            } catch(const std::exception &e) {
                std::cerr << "template: Rendering error: " << e.what() << std::endl;
            } catch(...) {
                std::cerr << "template: Rendering unknown error" << std::endl;
            }
        }

        const std::string getAuthor(){