summaryrefslogtreecommitdiff
path: root/itjs.php
diff options
context:
space:
mode:
authorChristian Schneider2011-09-16 20:18:11 +0000
committerChristian Schneider2011-09-16 20:18:11 +0000
commitbb1b1a8b88e356dbd4a3e8e0c279a24624630ef7 (patch)
tree42c7b2f3a92ecbf0be6fa1cf11cbfb259bda1f37 /itjs.php
parentfbf7e5065b6e60a6b9bbba930f1148663f59ed32 (diff)
downloaditools-bb1b1a8b88e356dbd4a3e8e0c279a24624630ef7.tar.gz
itools-bb1b1a8b88e356dbd4a3e8e0c279a24624630ef7.tar.bz2
itools-bb1b1a8b88e356dbd4a3e8e0c279a24624630ef7.zip
Added /itjs/PIE.htc CSS 3 emulation for MSIE, see http://css3pie.com/
Diffstat (limited to 'itjs.php')
-rw-r--r--itjs.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/itjs.php b/itjs.php
index e808ae2..fbadac3 100644
--- a/itjs.php
+++ b/itjs.php
@@ -53,6 +53,11 @@ else if (it::match('\.css', $_SERVER['PHP_SELF']))
if (it::match('W3C_CSS_Validator', $_SERVER['HTTP_USER_AGENT']) || EDC('w3c'))
$data = it::replace(array('background[^;}]*(gradient|rgba)[^;}]*;?' => "", '(filter:\s*progid|text-overflow:|zoom:|-webkit-|display:-moz-|-moz-|-o-|cursor:|border-radius:|behavior:|\w+:expression)[^;}]*;?' => "", 'html\.ie6.*' => "", '([^/])\*(\w)' => '$1$2'), $data);
}
+else if (it::match('\.htc$', $file))
+{
+ ob_start('ob_gzhandler');
+ header("Content-Type: text/plain; charset=iso-8859-1");
+}
else if (!it::match('\.html$', $file))
{
if ($_REQUEST['boot'] && !$_REQUEST['retry'])