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:
@@ -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 {
|
||||
|
||||
|
@@ -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';
|
||||
|
Reference in New Issue
Block a user