From: Jason Woofenden Date: Wed, 15 Sep 2010 22:12:15 +0000 (-0400) Subject: fix docs for cms_display() X-Git-Url: https://jasonwoof.com/gitweb/?a=commitdiff_plain;h=68b662265c66de0b6dd6d1df708d0692f0383fde;p=wfpl.git fix docs for cms_display() --- diff --git a/run.php b/run.php index bb9bed5..32aebef 100644 --- a/run.php +++ b/run.php @@ -99,9 +99,9 @@ function run_php($dest = false) { } # cms_get can return one of: - # 1) false to indicate that there's no cms content for this basename - # 2) a string to indicate a soft/full redirect just as foo_main() - # 3) a hash of key/value pairs to be tem_set() on the template + # 1) true to indicate that there is cms content (so no 404) + # 2) false to indicate that there's no cms content for this basename + # 3) a string to indicate a soft/full redirect just as foo_main() if(function_exists('cms_display')) { $cms_content = cms_display($basename, $GLOBALS['wfpl_main_template']); if(is_string($cms_content)) {