<?php $file=TGET('file'); if ($file[0]=='/') $file=substr($file,1); if (!strpbrk($file,'/\\')) { header('Content-Type: text/css'); $CMD_TMPL_NAME=$file; $CMD_TMPL_SUFFIX=""; if (strpos($_SERVER['HTTP_USER_AGENT'],"MSIE 9.0")!==false) array_push($OUTPUT_POST_FILTER,'strip_css_filter_ie9'); } $Config->DisplayExecutionTime=false; function strip_css_filter_ie9() { $contents=ob_get_clean(); $lines=explode("\n",$contents); foreach ($lines as $l) if (strpos($l,'filter:')===false) { echo $l; echo "\n"; } } ?>