1
0
mirror of https://github.com/mrclay/minify.git synced 2025-08-11 00:24:11 +02:00

Created "min" = new default implementation as specified in Issue 45.

Minify: fixed default value in useServerCache(), + doc for 'contentType' serve() option
Minify_Controller_Base: added todo item
Minify_Controller_Version1: fixed default cache to '' (instead of null)
This commit is contained in:
Steve Clay
2008-08-12 01:55:35 +00:00
parent 1e04e2c68e
commit 961e04ca30
6 changed files with 139 additions and 2 deletions

View File

@@ -13,6 +13,9 @@
*
* @package Minify
* @author Stephen Clay <steve@mrclay.org>
*
* @todo add static function to ease setting currentPath for CSS files
* (see line 83 of Version1.php)
*/
abstract class Minify_Controller_Base {

View File

@@ -30,7 +30,7 @@ class Minify_Controller_Version1 extends Minify_Controller_Base {
if (MINIFY_USE_CACHE) {
$cacheDir = defined('MINIFY_CACHE_DIR')
? MINIFY_CACHE_DIR
: null;
: '';
Minify::setCache($cacheDir);
}
$options['badRequestHeader'] = 'HTTP/1.0 404 Not Found';