1
0
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:
Steve Clay
2008-03-27 16:04:45 +00:00
parent c15acc8782
commit cd0675f490
10 changed files with 353 additions and 103 deletions

View File

@@ -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(