diff options
Diffstat (limited to 'itjs.php')
-rw-r--r-- | itjs.php | 5 |
1 files changed, 0 insertions, 5 deletions
@@ -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"); } |