Loading plugins/contact/contact.cpp +3 −3 Changes for plugins/contact/contact.cpp: 3 added lines, 3 removed lines. Original line number Diff line number Diff line Loading @@ -88,9 +88,9 @@ namespace blogi { cform << "<div id=\"contactform\" ><span>Mail versand!</span></div>"; }else{ cform << "<div id=\"contactform\" ><form method=\"post\" action=\"" << Args->config->buildurl("contact",buf,512) <<"\" ><p><label>Name: <input type=\"text\" id=\"name\" name=\"name\" ></label><label>Email:" << " <input id=\"mail\" name=\"mail\" type=\"text\"></label></p><p><label>Nachricht: <p><textarea id=\"message\"" << " name=\"message\" ></textarea></p></label></p><p><input type=\"submit\" value=\"Senden\"></p></form></div>"; <<"\" ><label for=\"name\">Name: </label> <input type=\"text\" id=\"name\" name=\"name\" ><label for=\"mail\">Email:</label>" << " <input id=\"mail\" name=\"mail\" type=\"text\"><label for=\"message\">Nachricht:</label><textarea id=\"message\"" << " name=\"message\" ></textarea><input type=\"submit\" value=\"Senden\"></form></div>"; } Loading plugins/media/media.cpp +1 −1 Changes for plugins/media/media.cpp: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -504,7 +504,7 @@ namespace blogi { getConfig(*Args->database[0],"REDISPORT",port); getConfig(*Args->database[0],"REDISTIMEOUT",timeout); if(Args->config->getRedisPassword()){ if(!password.empty()){ _store = std::shared_ptr<RedisStore>(new RedisStore(host.c_str(),port,password.c_str(),timeout,Args->maxthreads)); }else{ _store = std::shared_ptr<RedisStore>(new RedisStore(host.c_str(),port,nullptr,timeout,Args->maxthreads)); Loading src/blogi.cpp +4 −3 Changes for src/blogi.cpp: 4 added lines, 3 removed lines. Original line number Diff line number Diff line Loading @@ -84,10 +84,11 @@ blogi::Blogi::Blogi(Config *blgcfg,netplus::socket *serversocket,bool debug) : H PlgArgs->smtp=new SmtpSettings; getConfig(*PlgArgs->database[0],"SMTPADDR",PlgArgs->smtp->_SHost); getConfig(*PlgArgs->database[0],"SMTPHOST",PlgArgs->smtp->_SHost); getConfig(*PlgArgs->database[0],"SMTPPORT",PlgArgs->smtp->_SPort); getConfig(*PlgArgs->database[0],"SMTPPASS",PlgArgs->smtp->_SPass); getConfig(*PlgArgs->database[0],"SMTPUSER",PlgArgs->smtp->_Sender); getConfig(*PlgArgs->database[0],"SMTPUSER",PlgArgs->smtp->_SUser); getConfig(*PlgArgs->database[0],"SMTPSENDER",PlgArgs->smtp->_Sender); getConfig(*PlgArgs->database[0],"SMTPPASSWORD",PlgArgs->smtp->_SPass); PlgArgs->auth=new Auth(PlgArgs->database,PlgArgs->config); PlgArgs->edit=new Editor(PlgArgs->config); Loading Loading
plugins/contact/contact.cpp +3 −3 Changes for plugins/contact/contact.cpp: 3 added lines, 3 removed lines. Original line number Diff line number Diff line Loading @@ -88,9 +88,9 @@ namespace blogi { cform << "<div id=\"contactform\" ><span>Mail versand!</span></div>"; }else{ cform << "<div id=\"contactform\" ><form method=\"post\" action=\"" << Args->config->buildurl("contact",buf,512) <<"\" ><p><label>Name: <input type=\"text\" id=\"name\" name=\"name\" ></label><label>Email:" << " <input id=\"mail\" name=\"mail\" type=\"text\"></label></p><p><label>Nachricht: <p><textarea id=\"message\"" << " name=\"message\" ></textarea></p></label></p><p><input type=\"submit\" value=\"Senden\"></p></form></div>"; <<"\" ><label for=\"name\">Name: </label> <input type=\"text\" id=\"name\" name=\"name\" ><label for=\"mail\">Email:</label>" << " <input id=\"mail\" name=\"mail\" type=\"text\"><label for=\"message\">Nachricht:</label><textarea id=\"message\"" << " name=\"message\" ></textarea><input type=\"submit\" value=\"Senden\"></form></div>"; } Loading
plugins/media/media.cpp +1 −1 Changes for plugins/media/media.cpp: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -504,7 +504,7 @@ namespace blogi { getConfig(*Args->database[0],"REDISPORT",port); getConfig(*Args->database[0],"REDISTIMEOUT",timeout); if(Args->config->getRedisPassword()){ if(!password.empty()){ _store = std::shared_ptr<RedisStore>(new RedisStore(host.c_str(),port,password.c_str(),timeout,Args->maxthreads)); }else{ _store = std::shared_ptr<RedisStore>(new RedisStore(host.c_str(),port,nullptr,timeout,Args->maxthreads)); Loading
src/blogi.cpp +4 −3 Changes for src/blogi.cpp: 4 added lines, 3 removed lines. Original line number Diff line number Diff line Loading @@ -84,10 +84,11 @@ blogi::Blogi::Blogi(Config *blgcfg,netplus::socket *serversocket,bool debug) : H PlgArgs->smtp=new SmtpSettings; getConfig(*PlgArgs->database[0],"SMTPADDR",PlgArgs->smtp->_SHost); getConfig(*PlgArgs->database[0],"SMTPHOST",PlgArgs->smtp->_SHost); getConfig(*PlgArgs->database[0],"SMTPPORT",PlgArgs->smtp->_SPort); getConfig(*PlgArgs->database[0],"SMTPPASS",PlgArgs->smtp->_SPass); getConfig(*PlgArgs->database[0],"SMTPUSER",PlgArgs->smtp->_Sender); getConfig(*PlgArgs->database[0],"SMTPUSER",PlgArgs->smtp->_SUser); getConfig(*PlgArgs->database[0],"SMTPSENDER",PlgArgs->smtp->_Sender); getConfig(*PlgArgs->database[0],"SMTPPASSWORD",PlgArgs->smtp->_SPass); PlgArgs->auth=new Auth(PlgArgs->database,PlgArgs->config); PlgArgs->edit=new Editor(PlgArgs->config); Loading