3 require_once('code/wfpl/file.php');
4 require_once('code/ie_detect.php');
6 # this file is meant to act as a filter for .css files. it removes all lines
7 # containing "remove this line for IE 5.5 and 6"
9 # see also: .htaccess style.css
11 function css_mangler() {
12 $file = $_SERVER['REDIRECT_URL'];
14 $file = substr($file, 1);
16 header('Content-Type: text/css');
19 echo(ereg_replace("\n[^\n]*remove this line for IE 5.5 and 6[^\n]*\n", "\n", read_whole_file($file)));