diff options
author | Andreas Baumann <mail@andreasbaumann.cc> | 2015-12-13 15:53:59 +0100 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2015-12-13 15:53:59 +0100 |
commit | 35997e9d743721ee0392812d38e29616885a427c (patch) | |
tree | 36909a9eedfdbcb7591e7c568fef2a6b2ad4c692 /src/master.cpp | |
parent | ebf669cdbf7854f03113a937605658f100aefd48 (diff) | |
download | aCms-35997e9d743721ee0392812d38e29616885a427c.tar.gz aCms-35997e9d743721ee0392812d38e29616885a427c.tar.bz2 |
renamed the project to aCms (avoid confusion)
Diffstat (limited to 'src/master.cpp')
-rw-r--r-- | src/master.cpp | 8 |
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 ); |