<?php $file=TGET('file'); if ($file[0]=='/') $file=substr($file,1); if (!strpbrk($file,'/\\')) { header('Content-Type: text/css'); $Config->AutoExpire=false; header("Expires: " . gmdate("D, d M Y H:i:s",time()+$Config->ExpireSeconds) . " GMT"); header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT"); $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"; } } ?>