diff options
Diffstat (limited to 'itjs.php')
-rw-r--r-- | itjs.php | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -59,6 +59,12 @@ else if (it::match('\.css', $file)) '([^/])\*(\w)' => '$1$2'), $data ); + if ((($ie = it::match('MSIE (\d+)', $_SERVER['HTTP_USER_AGENT'])) && intval($ie) < 9) || EDC('iecompat')) + $data = it::replace(array( + '([;{]\s*)(background-size:[^;}])' => '\1behavior:url(/itjs/ie-backgroundsize-min.htc);\2', + '([;{]\s*)(border-radius:[^;}]*)' => '\1behavior:url(/itjs/ie-PIE.htc);\2'), + $data + ); } else if (it::match('\.htc$', $file)) { |