- $relfiles[] = substr($fn, strlen($dir)+1);
- $f = basename($fn);
- // got the 'module file..'
-
- if (!file_exists($dir . '/'. $f)) {
- echo "<!-- missing {$relpath}{$f} -->\n";
- $files[] = $relpath . $f . '?ts=0';
- $missing_files = true;
- continue;
- }
-
- $mtime = filemtime($dir . '/'. $f);
- $maxtime = max($mtime, $maxtime);
- $arfiles[$fn] = $mtime;
- $files[] = $relpath . $f . '?ts='.$mtime;
-
-
-
- }
- if ($missing_files) {
- $this->assetArrayToHtml($files, 'css');
- return;
-