summaryrefslogtreecommitdiff
path: root/src/master_content.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/master_content.hpp')
-rw-r--r--src/master_content.hpp8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/master_content.hpp b/src/master_content.hpp
index f1cd222..451ee7d 100644
--- a/src/master_content.hpp
+++ b/src/master_content.hpp
@@ -20,19 +20,15 @@ struct master : public cppcms::base_content {
std::string logout_link;
std::string register_link;
std::string username;
+ std::string _root;
public:
master( ) : cppcms::base_content( )
{
- // TODO: ini
- //~ c.login_link=wi.users.login_url();
- login_link = "/strusCms/login";
- logout_link = "/strusCms/logout";
- register_link = "/strusCms/register";
}
std::string root( ) {
- return "/strusCms";
+ return _root;
}
};