summaryrefslogtreecommitdiff
path: root/src/strusCms.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/strusCms.cpp')
-rw-r--r--src/strusCms.cpp10
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( );