summaryrefslogtreecommitdiff
path: root/src/master.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/master.cpp')
-rw-r--r--src/master.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/master.cpp b/src/master.cpp
index 751bb73..95383d8 100644
--- a/src/master.cpp
+++ b/src/master.cpp
@@ -11,4 +11,14 @@ master::master( strusCms &cms )
{
}
+void master::ini( content::master &c )
+{
+ c.title = "strusCms";
+ if( session( ).is_set( "username" ) ) {
+ c.username = session( )["username" ];
+ } else {
+ c.username = "";
+ }
+}
+
}