From 53335932cdd67d024f8a71ee01f8659ca2e5ee63 Mon Sep 17 00:00:00 2001 From: rylon Date: Wed, 8 Apr 2015 23:09:46 +0200 Subject: [PATCH] header for css files --- system/HEADER.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/system/HEADER.php b/system/HEADER.php index 168218a..0108973 100644 --- a/system/HEADER.php +++ b/system/HEADER.php @@ -30,6 +30,9 @@ class HEADER { public static function JS(){ if(self::checkHeader()){ header('content-type:application/javascript;');}} + public static function CSS(){ + if(self::checkHeader()){ + header('content-type:text/css;');}} public static function FILE($filename){ header("Content-type: application/octet-stream");