From 2a0597c4290fcf776ad36ec029ad53ee176c8fe1 Mon Sep 17 00:00:00 2001 From: Urban Müller Date: Fri, 31 Aug 2018 14:02:51 +0200 Subject: warn about sending php source --- itjs.php | 3 +++ 1 file changed, 3 insertions(+) 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, "