summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--itjs.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/itjs.php b/itjs.php
index 7ff1f4e..50e2d47 100644
--- a/itjs.php
+++ b/itjs.php
@@ -79,6 +79,9 @@ else if ($files && !it::match('\.html$', $lastfile))
$data .= "\nwindow.it_gotjs = (window.it_gotjs ? window.it_gotjs : '') + '." . it::match('\w+', basename($lastfile)) . "';\n";
}
+if (strpos($data, "<?php") !== false)
+ it::error("sending php source?!");
+
$data = itjs::strip($data);
if ($_REQUEST['boot'])