From 4eca72275e2624f86f4ad40cc0a17ce1624419c2 Mon Sep 17 00:00:00 2001 From: Urban Müller Date: Mon, 13 Oct 2014 12:04:20 +0200 Subject: more tracing --- itjs.php | 1 + 1 file changed, 1 insertion(+) (limited to 'itjs.php') diff --git a/itjs.php b/itjs.php index fb3fc42..0c552b4 100644 --- a/itjs.php +++ b/itjs.php @@ -63,6 +63,7 @@ else if (it::match('\.htc$', $file)) } else if (!it::match('\.html$', $file)) { + $data = "window.trace+='i';\n$data\nwindow.trace+='I';\n"; $data .= "\nwindow.it_gotjs = (window.it_gotjs ? window.it_gotjs : '') + '." . it::match('\w+', basename($file)) . "';\n"; $charset = ini_get('default_charset') ?: 'iso-8859-1'; header("Content-Type: application/x-javascript; charset=$charset"); -- cgit v1.2.3