summaryrefslogtreecommitdiff
path: root/src/strusCms.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/strusCms.cpp')
-rw-r--r--src/strusCms.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/strusCms.cpp b/src/strusCms.cpp
index 3858b32..b5e6b7b 100644
--- a/src/strusCms.cpp
+++ b/src/strusCms.cpp
@@ -22,8 +22,9 @@ namespace apps {
strusCms::strusCms( cppcms::service &srv )
: cppcms::application( srv ),
- intro( *this ),
user( *this ),
+ intro( *this ),
+ master( *this ),
conn( settings( ).get<std::string>( "strusCms.db_connection" ) ),
mail( settings( ).get<std::string>( "strusCms.mail.server" ),
settings( ).get<unsigned short>( "strusCms.mail.port" ),
@@ -38,8 +39,11 @@ strusCms::strusCms( cppcms::service &srv )
cppdb::session sql( conn );
sql.once( setup_dbconnection );
- add( intro );
add( user );
+ add( intro );
+ add( master );
+
+ master.register_common_pages( );
mapper( ).root( root( ) );
}