JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
oops, was checking for login twice
[wfpl.git] / run.php
diff --git a/run.php b/run.php
index 197dc76..bb9bed5 100644 (file)
--- a/run.php
+++ b/run.php
@@ -1,4 +1,4 @@
-<?php
+<?php  # Transitional; supports both template APIs
 
 #  2006 Public Domain
 #
@@ -141,7 +141,7 @@ function run_php($dest = false) {
                        run_php($other);
                        return;
                }
-       } else {
+       } elseif($html_exists) {
                $sub_names = tem_top_sub_names();
                foreach($sub_names as $sub_name) {
                        tem_sub($sub_name);