From 1f3774634b122e4ace102c8643f6d9281e3a20de Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 16 Nov 2015 19:06:27 +0200 Subject: Make root configuration option notation to be the same as of AP_ROOT configuration variable --- brep/repository-details.cxx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'brep/repository-details.cxx') 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 ()); -- cgit v1.1