allow a site to over-ride the help table-of-contents files

This commit is contained in:
redmatrix
2016-09-26 16:34:53 -07:00
parent cccffc77cd
commit 5716556766
2 changed files with 10 additions and 3 deletions

View File

@@ -37,7 +37,10 @@ function get_help_content($tocpath = false) {
$doctype = 'html';
}
}
if(($tocpath) && (! $text))
return '';
if($tocpath === false) {
if(! $text) {
$text = load_doc_file('doc/Site.md');