aboutsummaryrefslogtreecommitdiff
path: root/brep/repository-details.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2015-11-16 19:06:27 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2015-11-16 19:06:27 +0200
commit1f3774634b122e4ace102c8643f6d9281e3a20de (patch)
tree1eb2df333c9cd78581ab8840c508036b6aabb565 /brep/repository-details.cxx
parentd5b0b7b1d099125bf6f86b2e49acdbf2e6625beb (diff)
Make root configuration option notation to be the same as of AP_ROOT configuration variable
Diffstat (limited to 'brep/repository-details.cxx')
-rw-r--r--brep/repository-details.cxx5
1 files changed, 4 insertions, 1 deletions
diff --git a/brep/repository-details.cxx b/brep/repository-details.cxx
index b8a2e5b..86a6099 100644
--- a/brep/repository-details.cxx
+++ b/brep/repository-details.cxx
@@ -50,7 +50,10 @@ namespace brep
// The module options object is not changed after being created once per
// server process.
//
- static const dir_path& rt (options_->root ());
+ static const dir_path& rt (
+ options_->root ().empty ()
+ ? dir_path ("/")
+ : options_->root ());
xml::serializer s (rs.content (), "About");
const string& title (s.output_name ());