summaryrefslogtreecommitdiff
path: root/itjs.php
diff options
context:
space:
mode:
authorUrban Müller2014-09-25 19:49:02 +0200
committerUrban Müller2014-09-25 19:49:02 +0200
commit1b226b0b61b0ee8ecefc743d36a24c125023ef0f (patch)
treea5650c67ef021b2a886695726acf26db3c8d43ef /itjs.php
parentafb7404d015a9c21b2b6b1a785830a131e633c56 (diff)
downloaditools-1b226b0b61b0ee8ecefc743d36a24c125023ef0f.tar.gz
itools-1b226b0b61b0ee8ecefc743d36a24c125023ef0f.tar.bz2
itools-1b226b0b61b0ee8ecefc743d36a24c125023ef0f.zip
log loaded scripts
Diffstat (limited to 'itjs.php')
-rw-r--r--itjs.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/itjs.php b/itjs.php
index 9b1788f..32f3a16 100644
--- a/itjs.php
+++ b/itjs.php
@@ -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");
}