summaryrefslogtreecommitdiff
path: root/server/src/configurationparser.cc
diff options
context:
space:
mode:
authorbertho <bertho>2009-02-04 11:37:49 +0000
committerbertho <bertho>2009-02-04 11:37:49 +0000
commit6ad7301c3a364a34747ecc631a8b239570c303fa (patch)
tree3627d97211ae8f7a53256b9447a9ca16f91fba5d /server/src/configurationparser.cc
parent1bce9e4ebb9521c26fdbc586d4eadd6f2a52b618 (diff)
- Add missing include files
- Add config option for xml macros and templates basedir
Diffstat (limited to 'server/src/configurationparser.cc')
-rw-r--r--server/src/configurationparser.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/server/src/configurationparser.cc b/server/src/configurationparser.cc
index 6bab578..1c89655 100644
--- a/server/src/configurationparser.cc
+++ b/server/src/configurationparser.cc
@@ -122,4 +122,9 @@ void ConfigurationParser::reload()
} catch( ... ) {
}
+ try {
+ std::string p = lookup("xml_basedir");
+ Conf::xml_basedir = p;
+ } catch( ... ) {
+ }
}