JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
commented run.php a little
[wfpl.git] / run.php
diff --git a/run.php b/run.php
index 3d26e49..c5ae240 100644 (file)
--- a/run.php
+++ b/run.php
@@ -91,6 +91,7 @@ function run_php($basename = false) {
                tem_load($html_file);
        }
 
+       # files can return a basename or URL of a page to be run/displayed
        $other = file_run($php_file);
        if($other) {
                if(strpos($other, ':')) {
@@ -111,7 +112,7 @@ function run_php($basename = false) {
                        }
 
                        if(file_exists("$basename.css")) {
-                               $tem->set('basename', $basename);
+                               $tem->set('css_link', "$basename.css");
                                $tem->sub('css_links');
                        }