mirror of
https://github.com/mrclay/minify.git
synced 2025-08-08 15:16:56 +02:00
Moved file caching to Minify_Cache_File.
Removed Cache_Lite. Deprecated UseServerCache() in favor of setCache(). Added Groups controller to ab tests.
This commit is contained in:
@@ -46,6 +46,10 @@ class Minify_Controller_Groups extends Minify_Controller_Base {
|
||||
$groups = $options['groups'];
|
||||
unset($options['groups']);
|
||||
|
||||
if (! isset($_SERVER['PATH_INFO'])) {
|
||||
// no PATH_INFO
|
||||
return $options;
|
||||
}
|
||||
$pi = substr($_SERVER['PATH_INFO'], 1);
|
||||
if (! isset($groups[$pi])) {
|
||||
// not a valid group
|
||||
|
Reference in New Issue
Block a user