diff options
author | Andreas Baumann <mail@andreasbaumann.cc> | 2015-05-03 21:14:36 +0200 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2015-05-03 21:14:36 +0200 |
commit | a07e48f45e3b922a63aaae58b5bd816b8e324ee1 (patch) | |
tree | c2258783ecacc7005226acedc198ca332763e992 /src/strusCms.cpp | |
parent | 549dffeef49ae25c89d4d1cc6c71c715edfb753f (diff) | |
download | aCms-a07e48f45e3b922a63aaae58b5bd816b8e324ee1.tar.gz aCms-a07e48f45e3b922a63aaae58b5bd816b8e324ee1.tar.bz2 |
started to add pages
Diffstat (limited to 'src/strusCms.cpp')
-rw-r--r-- | src/strusCms.cpp | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/strusCms.cpp b/src/strusCms.cpp index b5e6b7b..3a108f5 100644 --- a/src/strusCms.cpp +++ b/src/strusCms.cpp @@ -22,9 +22,10 @@ namespace apps { strusCms::strusCms( cppcms::service &srv ) : cppcms::application( srv ), - user( *this ), - intro( *this ), master( *this ), + intro( *this ), + user( *this ), + page( *this ), conn( settings( ).get<std::string>( "strusCms.db_connection" ) ), mail( settings( ).get<std::string>( "strusCms.mail.server" ), settings( ).get<unsigned short>( "strusCms.mail.port" ), @@ -39,9 +40,10 @@ strusCms::strusCms( cppcms::service &srv ) cppdb::session sql( conn ); sql.once( setup_dbconnection ); - add( user ); - add( intro ); add( master ); + add( intro ); + add( user ); + add( page ); master.register_common_pages( ); |