Permalink
Browse files

Compress favicon

  • Loading branch information...
1 parent 4024f34 commit 906345ad814d8336ce3718c144882f9b365f1edd @vrana committed Sep 22, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 adminer/file.inc.php
View
@@ -9,7 +9,7 @@
if ($_GET["file"] == "favicon.ico") {
header("Content-Type: image/x-icon");
- echo base64_decode(compile_file('../adminer/static/favicon.ico', 'base64_encode'));
+ echo lzw_decompress(compile_file('../adminer/static/favicon.ico', 'lzw_compress'));
} elseif ($_GET["file"] == "default.css") {
header("Content-Type: text/css; charset=utf-8");
echo lzw_decompress(compile_file('../adminer/static/default.css', 'minify_css'));

0 comments on commit 906345a

Please sign in to comment.