diff options
author | Urban Müller | 2014-10-30 11:45:25 +0100 |
---|---|---|
committer | Urban Müller | 2014-10-30 11:45:25 +0100 |
commit | 3024e2749dafeefad44caffe656ccf6b6ff26cbf (patch) | |
tree | 14212dbcdc693385c7c02e43bcc5020fd5d050d6 | |
parent | bc0b7d5867aa6b8256bf28ec93b8b8b3777605a2 (diff) | |
download | itools-3024e2749dafeefad44caffe656ccf6b6ff26cbf.tar.gz itools-3024e2749dafeefad44caffe656ccf6b6ff26cbf.tar.bz2 itools-3024e2749dafeefad44caffe656ccf6b6ff26cbf.zip |
correctly detect delivered file type
-rw-r--r-- | itjs.php | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |