diff options
Diffstat (limited to 'src/strusCms.cpp')
-rw-r--r-- | src/strusCms.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/strusCms.cpp b/src/strusCms.cpp index 64cc235..db715f4 100644 --- a/src/strusCms.cpp +++ b/src/strusCms.cpp @@ -8,12 +8,15 @@ namespace apps { strusCms::strusCms( cppcms::service &srv ) : cppcms::application( srv ), - intro( *this ) + conn( settings( ).get<std::string>( "strusCms.db_connection" ) ), + intro( *this ), + user( *this ) { locale_name = "en"; script = settings( ).get<std::string>( "strusCms.script" ); add( intro ); + add( user ); mapper( ).root( "/strusCms" ); } |