diff options
author | redmatrix <mike@macgirvin.com> | 2016-09-26 16:34:53 -0700 |
---|---|---|
committer | redmatrix <mike@macgirvin.com> | 2016-09-26 16:34:53 -0700 |
commit | 5716556766eb4e329f0c6c1bc899a7621cbcd5a5 (patch) | |
tree | 798b5c8ecd312a3119a7452a0041ef75421f0604 /include/help.php | |
parent | cccffc77cd706710049f2d84021f84e25bea1f26 (diff) | |
download | volse-hubzilla-5716556766eb4e329f0c6c1bc899a7621cbcd5a5.tar.gz volse-hubzilla-5716556766eb4e329f0c6c1bc899a7621cbcd5a5.tar.bz2 volse-hubzilla-5716556766eb4e329f0c6c1bc899a7621cbcd5a5.zip |
allow a site to over-ride the help table-of-contents files
Diffstat (limited to 'include/help.php')
-rw-r--r-- | include/help.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/help.php b/include/help.php index 5538fbc1e..3081ae41f 100644 --- a/include/help.php +++ b/include/help.php @@ -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'); |