diff options
author | Urban Müller | 2014-10-13 12:04:20 +0200 |
---|---|---|
committer | Urban Müller | 2014-10-13 12:04:20 +0200 |
commit | 4eca72275e2624f86f4ad40cc0a17ce1624419c2 (patch) | |
tree | 53fd7a97af2e3261a1c9204bf2e4e71a624272ff /itjs.php | |
parent | af2558ed5d1486668174e608a2889d099cc70edc (diff) | |
download | itools-4eca72275e2624f86f4ad40cc0a17ce1624419c2.tar.gz itools-4eca72275e2624f86f4ad40cc0a17ce1624419c2.tar.bz2 itools-4eca72275e2624f86f4ad40cc0a17ce1624419c2.zip |
more tracing
Diffstat (limited to 'itjs.php')
-rw-r--r-- | itjs.php | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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"); |