JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
fix docs for cms_display()
authorJason Woofenden <jason@jasonwoof.com>
Wed, 15 Sep 2010 22:12:15 +0000 (18:12 -0400)
committerJason Woofenden <jason@jasonwoof.com>
Wed, 15 Sep 2010 22:12:15 +0000 (18:12 -0400)
run.php

diff --git a/run.php b/run.php
index bb9bed5..32aebef 100644 (file)
--- 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)) {