1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-12 17:44:07 +02:00

Replace JSMin by JsShrink

This commit is contained in:
Jakub Vrana
2012-03-08 01:12:06 -08:00
parent a6f10787bb
commit bf4f0a1f9e
6 changed files with 10 additions and 19 deletions

View File

@@ -9,7 +9,7 @@ if ($_GET["file"] == "favicon.ico") {
?>compile_file('../adminer/static/default.css', 'minify_css');<?php
} elseif ($_GET["file"] == "functions.js") {
header("Content-Type: text/javascript; charset=utf-8");
?>compile_file('../adminer/static/functions.js', 'JSMin::minify');compile_file('static/editing.js', 'JSMin::minify');<?php
?>compile_file('../adminer/static/functions.js', 'jsShrink');compile_file('static/editing.js', 'jsShrink');<?php
} else {
header("Content-Type: image/gif");
switch ($_GET["file"]) {