$content = gzencode( file_get_contents($fn) , 9);
header('Content-Encoding: gzip');
+ header('Vary: Accept-Encoding');
header('Content-Length: '. strlen($content));
+
echo $content;
} else {
die('invalid');
}
-
+ static function getAssetDir($type)
+ {
+ if(empty($type)) {
+ return false;
+ }
+
+
+ }
}