From a07e48f45e3b922a63aaae58b5bd816b8e324ee1 Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Sun, 3 May 2015 21:14:36 +0200 Subject: started to add pages --- src/strusCms.cpp | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'src/strusCms.cpp') 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( "strusCms.db_connection" ) ), mail( settings( ).get( "strusCms.mail.server" ), settings( ).get( "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( ); -- cgit v1.2.3-54-g00ecf