diff options
author | Andreas Baumann <mail@andreasbaumann.cc> | 2015-04-30 21:02:15 +0200 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2015-04-30 21:02:15 +0200 |
commit | 536cc69836d758ab7d156115ce296a3a25ce8aac (patch) | |
tree | ff24e7f4ed01a9343fe73f049defb4b93f201a5a /src/strusCms.cpp | |
parent | a3e26005fe00abe8836ba5dcdd1b9887ae6b1c27 (diff) | |
parent | 37dd84ec2145f500dce94fb136bd266b6445ae16 (diff) | |
download | aCms-536cc69836d758ab7d156115ce296a3a25ce8aac.tar.gz aCms-536cc69836d758ab7d156115ce296a3a25ce8aac.tar.bz2 |
Merge branch 'master' of ssh://git.andreasbaumann.cc/strusCms
Diffstat (limited to 'src/strusCms.cpp')
-rw-r--r-- | src/strusCms.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/strusCms.cpp b/src/strusCms.cpp index e5792ec..137a209 100644 --- a/src/strusCms.cpp +++ b/src/strusCms.cpp @@ -10,7 +10,13 @@ strusCms::strusCms( cppcms::service &srv ) : cppcms::application( srv ), intro( *this ), user( *this ), - conn( settings( ).get<std::string>( "strusCms.db_connection" ) ) + conn( settings( ).get<std::string>( "strusCms.db_connection" ) ), + mail( settings( ).get<std::string>( "strusCms.mail.server" ), + settings( ).get<unsigned short>( "strusCms.mail.port" ), + settings( ).get<std::string>( "strusCms.mail.username" ), + settings( ).get<std::string>( "strusCms.mail.password" ), + settings( ).get<std::string>( "strusCms.mail.from" ) + ) { locale_name = "en"; script = settings( ).get<std::string>( "strusCms.script" ); |