summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--itjs.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/itjs.php b/itjs.php
index bc32806..86cca64 100644
--- a/itjs.php
+++ b/itjs.php
@@ -42,7 +42,7 @@ if (it::match('\.gif$', $file))
{
header("Content-Type: image/gif");
}
-else if (it::match('\.css', $_SERVER['PHP_SELF']))
+else if (it::match('\.css', $file))
{
header("Content-Type: text/css");
$data .= "\n#it_boot_dom { display:none }\n"; # Append magic style for it_boot