diff options
Diffstat (limited to 'itjs.php')
-rw-r--r-- | itjs.php | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -62,6 +62,7 @@ else if (it::match('\.htc$', $file)) } else if (!it::match('\.html$', $file)) { + $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"); } |