diff options
author | Urban Müller | 2014-09-25 19:49:02 +0200 |
---|---|---|
committer | Urban Müller | 2014-09-25 19:49:02 +0200 |
commit | 1b226b0b61b0ee8ecefc743d36a24c125023ef0f (patch) | |
tree | a5650c67ef021b2a886695726acf26db3c8d43ef | |
parent | afb7404d015a9c21b2b6b1a785830a131e633c56 (diff) | |
download | itools-1b226b0b61b0ee8ecefc743d36a24c125023ef0f.tar.gz itools-1b226b0b61b0ee8ecefc743d36a24c125023ef0f.tar.bz2 itools-1b226b0b61b0ee8ecefc743d36a24c125023ef0f.zip |
log loaded scripts
-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"); } |