Closed GoogleCodeExporter closed 9 years ago
You do not need to extend Minify to do this. Simply create a controller object
(load
it however you want) and pass it as the first parameter to serve(). It's
easiest,
but not required, to make your controller a subclass of Minify_Controller_Base.
{{{
$myController = MyFramework::factory('MinifyController');
Minify::serve($myController, $options);
}}}
serve() only uses its loader if you pass a string. I'm sorry this isn't well-
documented yet; here's the phpdoc line that specifies this:
http://code.google.com/p/minify/source/browse/tags/release_2.1.0/min/lib/
Minify.php#135
Original comment by mrclay....@gmail.com
on 29 Oct 2008 at 2:43
I labelled this incorrectly, sorry for the noise.
Original comment by mrclay....@gmail.com
on 27 Nov 2008 at 3:49
Original issue reported on code.google.com by
1stv...@gmail.com
on 29 Oct 2008 at 9:39Attachments: