mirror of
https://github.com/mrclay/minify.git
synced 2025-08-14 01:54:11 +02:00
+ Solar_Dir for better PHP compat. Moved most of minify.php code to Controller/Version1.php. + a few tests for version1/minify.php
This commit is contained in:
@@ -51,6 +51,10 @@ class Minify_Controller_Groups extends Minify_Controller_Base {
|
||||
}
|
||||
$sources = array();
|
||||
foreach ($groups[$pi] as $file) {
|
||||
if ($file instanceof Minify_Source) {
|
||||
$sources[] = $file;
|
||||
continue;
|
||||
}
|
||||
$file = realpath($file);
|
||||
if (file_exists($file)) {
|
||||
$sources[] = new Minify_Source(array(
|
||||
|
Reference in New Issue
Block a user