summaryrefslogtreecommitdiff
path: root/src/master.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/master.cpp')
-rw-r--r--src/master.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/master.cpp b/src/master.cpp
index 021fdb2..0057a79 100644
--- a/src/master.cpp
+++ b/src/master.cpp
@@ -1,5 +1,5 @@
#include "master.hpp"
-#include "strusCms.hpp"
+#include "aCms.hpp"
#include <cppcms/service.h>
#include <cppcms/url_dispatcher.h>
@@ -8,7 +8,7 @@
namespace apps {
-master::master( strusCms &cms )
+master::master( aCms &cms )
: application( cms.service( ) ),
cms( cms )
{
@@ -16,7 +16,7 @@ master::master( strusCms &cms )
void master::ini( content::master &c )
{
- c.title = "strusCms";
+ c.title = "aCms";
if( session( ).is_set( "username" ) ) {
c.username = session( )["username" ];
} else {
@@ -37,7 +37,7 @@ void master::register_common_pages( )
{
// only deliver static content here matching the static files only!
cms.dispatcher( ).assign( "(" + cms.media_root( ) + "/basic-profile.css)", &master::serve_file, this, 1 );
- cms.dispatcher( ).assign( "(" + cms.media_root( ) + "/images/strus_big.jpg)", &master::serve_file, this, 1 );
+ cms.dispatcher( ).assign( "(" + cms.media_root( ) + "/images/logo_big.png)", &master::serve_file, this, 1 );
// some catch all redirects pointing to the main page
cms.dispatcher( ).assign( "/", &master::redirect_to_master, this );