diff options
Diffstat (limited to 'itjs.php')
-rw-r--r-- | itjs.php | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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); |