summaryrefslogtreecommitdiff
path: root/itjs.php
diff options
context:
space:
mode:
Diffstat (limited to 'itjs.php')
-rw-r--r--itjs.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/itjs.php b/itjs.php
index 5ca5719..b777c3c 100644
--- a/itjs.php
+++ b/itjs.php
@@ -88,4 +88,7 @@ else if ($files && !it::match('\.html$', $lastfile))
if (strpos($data, "<?php") !== false)
it::error("sending php source?!");
-echo $nostrip ? $data : itjs::strip($data);
+if (strlen($content = $nostrip ? $data : itjs::strip($data)))
+ echo $content;
+else
+ http_response_code(404);