mirror of
https://github.com/mrclay/minify.git
synced 2025-08-08 23:26:43 +02:00
+ HTTP_ConditionalGet_Build directory change monitor, + post-processing hook in Minify (for appending timestamps to URIs, etc.)
This commit is contained in:
@@ -21,7 +21,7 @@ class Minify_HTML {
|
||||
|
||||
self::$_isXhtml = (false !== strpos($html, '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML'));
|
||||
|
||||
self::$_replacementHash = 'HTTPMINIFY' . md5(time());
|
||||
self::$_replacementHash = 'MINIFYHTML' . md5(time());
|
||||
|
||||
// remove SCRIPTs (and minify)
|
||||
$html = preg_replace_callback('/\\s*(<script\\b[^>]*?>)([\\s\\S]*?)<\\/script>\\s*/i',
|
||||
|
Reference in New Issue
Block a user