summaryrefslogtreecommitdiff
path: root/itjs.php
diff options
context:
space:
mode:
Diffstat (limited to 'itjs.php')
-rw-r--r--itjs.php5
1 files changed, 0 insertions, 5 deletions
diff --git a/itjs.php b/itjs.php
index 7b42b20..24cc33e 100644
--- a/itjs.php
+++ b/itjs.php
@@ -46,7 +46,6 @@ if (it::match('\.gif$', $file))
else if (it::match('\.css', $_SERVER['PHP_SELF']))
{
header("Content-Type: text/css");
- ob_start('ob_gzhandler');
$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);
@@ -55,14 +54,10 @@ else if (it::match('\.css', $_SERVER['PHP_SELF']))
}
else if (it::match('\.htc$', $file))
{
- ob_start('ob_gzhandler');
header("Content-Type: text/x-component");
}
else if (!it::match('\.html$', $file))
{
- if ($_REQUEST['boot'] && !$_REQUEST['retry'])
- ob_start('ob_gzhandler');
-
$charset = ini_get('default_charset') ?: 'iso-8859-1';
header("Content-Type: application/x-javascript; charset=$charset");
}