summaryrefslogtreecommitdiff
path: root/itjs.php
diff options
context:
space:
mode:
Diffstat (limited to 'itjs.php')
-rw-r--r--itjs.php14
1 files changed, 1 insertions, 13 deletions
diff --git a/itjs.php b/itjs.php
index c54d3a4..c5eab1c 100644
--- a/itjs.php
+++ b/itjs.php
@@ -43,7 +43,6 @@ if (it::match('\.gif$', $lastfile))
else if (it::match('\.css', $lastfile))
{
header("Content-Type: text/css");
- $data .= "\n#it_boot_dom { display:none }\n"; # Append magic style for it_boot
if (!it::match('^devel', $GLOBALS['ULTRASERVERTYPE']))
$data = it::replace(array('[ \t]*([{};])[ \t]*' => '$1', '/\*.*?\*/' => ""), $data);
if (it::match('W3C_CSS_Validator', $_SERVER['HTTP_USER_AGENT']) || $_GET['w3c'])
@@ -86,15 +85,4 @@ else if ($files && !it::match('\.html$', $lastfile))
if (strpos($data, "<?php") !== false)
it::error("sending php source?!");
-$data = itjs::strip($data);
-
-if ($_REQUEST['boot'])
-{
- $data .= "window.it_boot_init();\n";
- if (!$_REQUEST['script'])
- $data = sprintf("/*sln:%d*/\n%s/*eln:%d*/", grapheme_strlen($data), strtr($data, array('%' => "%25", '.' => "%2e", 'e' => "%65", 'i' => "%69")), grapheme_strlen($data)); # Protect from Firewalls/Proxies altering Javascript source code
-}
-
-echo it_untaint($data);
-
-?>
+echo itjs::strip($data);