1
0
mirror of https://github.com/mrclay/minify.git synced 2025-08-15 02:24:13 +02:00

+ HTTP_ConditionalGet_Build directory change monitor, + post-processing hook in Minify (for appending timestamps to URIs, etc.)

This commit is contained in:
Steve Clay
2008-03-02 04:59:13 +00:00
parent d86d79b7d2
commit 7a3d7129b4
5 changed files with 143 additions and 3 deletions

View File

@@ -348,6 +348,14 @@ class Minify {
}
$content = implode($implodeSeparator, $pieces);
}
// do any post-processing (esp. for editing build URIs)
if (self::$_options['postprocessorRequire']) {
require_once self::$_options['postprocessorRequire'];
}
if (self::$_options['postprocessor']) {
$content = call_user_func(self::$_options['postprocessor'], $content, $type);
}
return $content;
}