JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
Merge branch 'master' of gitorious.org:wfpl/wfpl
authorJason Woofenden <jason@jasonwoof.com>
Tue, 5 Oct 2010 08:21:03 +0000 (04:21 -0400)
committerJason Woofenden <jason@jasonwoof.com>
Tue, 5 Oct 2010 08:21:03 +0000 (04:21 -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)) {