summaryrefslogtreecommitdiff
path: root/src/strusCms.hpp
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2015-07-31 13:43:19 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2015-07-31 13:43:19 +0200
commit54a304276fb361f95332c5c1f8c6f67026b1d96c (patch)
tree99ecbf787f2cff1593a77890b690a1f632e79733 /src/strusCms.hpp
parenta07e48f45e3b922a63aaae58b5bd816b8e324ee1 (diff)
downloadaCms-54a304276fb361f95332c5c1f8c6f67026b1d96c.tar.gz
aCms-54a304276fb361f95332c5c1f8c6f67026b1d96c.tar.bz2
made it possible to run standalone without proxying webserver:
- deliver static pages - some default redirects pointing to the main landing page
Diffstat (limited to 'src/strusCms.hpp')
-rw-r--r--src/strusCms.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/strusCms.hpp b/src/strusCms.hpp
index 285f026..83d4c8c 100644
--- a/src/strusCms.hpp
+++ b/src/strusCms.hpp
@@ -14,6 +14,7 @@ class strusCms : public cppcms::application {
public:
strusCms( cppcms::service &srv );
std::string root( std::string locale_name = "" );
+ std::string media_root( std::string locale_name = "" );
public:
apps::master master;
@@ -25,6 +26,7 @@ class strusCms : public cppcms::application {
private:
std::string script;
+ std::string media;
std::string locale_name;
};