diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2015-11-16 19:06:27 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2015-11-16 19:06:27 +0200 |
commit | 1f3774634b122e4ace102c8643f6d9281e3a20de (patch) | |
tree | 1eb2df333c9cd78581ab8840c508036b6aabb565 /brep/repository-details.cxx | |
parent | d5b0b7b1d099125bf6f86b2e49acdbf2e6625beb (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.cxx | 5 |
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 ()); |