mirror of
https://github.com/mrclay/minify.git
synced 2025-08-27 15:50:15 +02:00
A couple improvements
Show 400 if request is missing spec (instead of redirect) Allow config.php to change factories for Minify and MinApp objects These should've been separate commits, :(
This commit is contained in:
10
config.php
10
config.php
@@ -187,5 +187,15 @@ $min_symlinks = array();
|
||||
$min_uploaderHoursBehind = 0;
|
||||
|
||||
|
||||
/**
|
||||
* Advanced: you can replace some of the PHP classes Minify uses to serve requests.
|
||||
* To do this, assign a callable to one of the elements of the $min_factories array.
|
||||
*
|
||||
* You can see the default implementations (and what gets passed in) in index.php.
|
||||
*/
|
||||
//$min_factories['minify'] = ... a callable
|
||||
//$min_factories['controller'] = ... a callable
|
||||
|
||||
|
||||
// try to disable output_compression (may not have an effect)
|
||||
ini_set('zlib.output_compression', '0');
|
||||
|
Reference in New Issue
Block a user